readme: update WebSocket link to RFC6455

PR-URL: https://github.com/joyent/http-parser/pull/240
Reviewed-By: Fedor Indutny <fedor@indutny.com>
make-http-max-header-size-gyp-configurable
Ivan Enderlin 10 years ago committed by Fedor Indutny
parent b5bcca8f92
commit 4f69be2221

@ -94,7 +94,7 @@ The Special Problem of Upgrade
------------------------------ ------------------------------
HTTP supports upgrading the connection to a different protocol. An HTTP supports upgrading the connection to a different protocol. An
increasingly common example of this is the Web Socket protocol which sends increasingly common example of this is the WebSocket protocol which sends
a request like a request like
GET /demo HTTP/1.1 GET /demo HTTP/1.1
@ -106,8 +106,8 @@ a request like
followed by non-HTTP data. followed by non-HTTP data.
(See http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-75 for more (See [RFC6455](https://tools.ietf.org/html/rfc6455) for more information the
information the Web Socket protocol.) WebSocket protocol.)
To support this, the parser will treat this as a normal HTTP message without a To support this, the parser will treat this as a normal HTTP message without a
body, issuing both on_headers_complete and on_message_complete callbacks. However body, issuing both on_headers_complete and on_message_complete callbacks. However

Loading…
Cancel
Save