11 Commits

Author SHA1 Message Date
indexzero
4f85ca04e4 [api doc test] node-http-proxy now emits websocket:* on important WebSocket events. Added tests for these features and updated some code docs 2011-06-26 10:52:22 -04:00
indexzero
a1cdf005b9 [test] Update tests to use localhost 2011-05-23 16:46:48 -04:00
indexzero
028d2044e7 [fix] Change sec-websocket-location header when proxying WSS --> WS. Added test coverage for this scenario 2011-05-23 02:18:12 -04:00
indexzero
a865fe662f [test] Update to vows description for web-socket-proxy-test.js 2011-05-21 10:42:31 -04:00
indexzero
9c6c4b908b [fix test api] Only change Origin headers in WebSocket requests when the changeOrigin option is set explicitly. Added tests to ensure Origin and sec-websocket-origin headers match when proxying websockets. 2011-05-17 21:29:00 -04:00
indexzero
44a85664a8 [test] Continued work around Origin mismatch tests 2011-05-17 21:03:02 -04:00
indexzero
9ab54ab47f [test] Refined tests to begin checking Origin == Sec-Websocket-Origin 2011-05-17 20:25:45 -04:00
indexzero
6e679c8019 [test] Improve websocket tests to inspect outgoing and incoming HTTP headers to test origin mismatch bugs 2011-05-17 20:09:56 -04:00
Olivier Lauzon
1ee6beff6a [test] Fix tests in https mode
Tests can be run in https mode by adding the --https flag
vows test/*-test.js --spec --https
2011-05-18 06:20:48 +08:00
indexzero
12064d8e5d [doc test] Small updates to README.md. Update to try require socket.io 2011-04-17 03:25:48 -04:00
indexzero
4d18ac1ae6 [test] Add WebSocket tests 2011-04-16 23:46:08 -04:00