Permalink
Browse files

[doc] small NPN doc fix

  • Loading branch information...
1 parent a38bda9 commit 9355909c982818c5f33e32c0cbc95815030730bf @indutny committed Aug 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/tls.markdown
View
@@ -43,7 +43,7 @@ defaults to `localhost`.) `options` should be an object which specifies
These are used to authorize connections.
- `NPNProtocols`: An array of string or `Buffer` containing supported NPN
- protocols. `Buffer` should have following format: `0x04hello0x5world`, where
+ protocols. `Buffer` should have following format: `0x05hello0x05world`, where
first byte is next protocol name's length. (Passing array should usually be
much simplier: `['hello', 'world']`.)

0 comments on commit 9355909

Please sign in to comment.