diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-04-14 03:52:15 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-04-14 03:52:15 -0700 |
commit | 760bba55186eba039ca00e532f7813d2aea450a2 (patch) | |
tree | 8e9484f5b08cb018204ff26e0d5fb5b3779cd552 /deps/v8/test/mjsunit/mjsunit.status | |
parent | af49187e57105a793ef4abf33339d854f2b5cda2 (diff) | |
download | node-new-760bba55186eba039ca00e532f7813d2aea450a2.tar.gz |
Support Upgrade in HTTP messages
This allows for web servers to be "hijacked" and used as Web Socket servers
(or other). You simply listen for requests as normal, but check if
req.upgrade === true
If so, this will be the last request of the connection. It's your job now to
hijack req.connection and start reading from it. req.upgradeHead is a buffer
containing the first part of the new protocol communication (in the case it
arrived on the same packet).
This needs tests and documentation. API subject to change.
Diffstat (limited to 'deps/v8/test/mjsunit/mjsunit.status')
0 files changed, 0 insertions, 0 deletions