55 Commits

Author SHA1 Message Date
Max Ogden
91e9bb9070 adding tests for url segment proxytable routing 2011-10-15 14:22:36 -07:00
indexzero
f188f4ffd8 [test fix] Remove unnecessary console.log in tests/websocket/websocket-proxy-test.js 2011-10-04 01:54:27 +02:00
Joshua Holbrook
66e982060c [test] Added a test for the "x-forwarded-for" header 2011-09-20 13:33:07 -07:00
indexzero
734769fa9b [test] Updated tests to reflect finalized API of the RoutingProxy 2011-09-10 03:55:35 -04:00
indexzero
5927ecd62a [api test dist] Stubbed out the API for the higher-level RoutingProxy object to be exposed by node-http-proxy 2011-09-08 18:22:38 -07:00
indexzero
3a4d312eda [test] Whitespace fix 2011-09-08 17:57:44 -07:00
indexzero
daf9231a66 [test fix] A few minor fixes to ensure basic WebSocket tests are working. Better scope tests by supported protocol 2011-08-28 05:06:14 -04:00
indexzero
be4562da9f [api test] Updated httpProxy.createServer() for new API exposed by simplified HttpProxy object.
[breaking] Temporarily removed pending refactor: middleware & ProxyTable support
2011-08-28 04:40:51 -04:00
indexzero
db10c4af91 [test] Updates for readability 2011-08-28 02:09:37 -04:00
Dominic Tarr
efa17ef6cf [fix] use routing table mhen proxying WebSockets.
closes issue #72
2011-07-21 23:08:11 +10:00
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
895f577744 [doc test api] Improve node-http-proxy API to allow for HTTPS to HTTP proxying scenarios. Update tests accordingly. 2011-05-18 21:05:44 -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
212009df6b [doc api] Update README.md and CHANGELOG.md for v0.5.0. Update bin/node-http-proxy to read files specified in config.https 2011-04-17 03:11:06 -04:00
indexzero
bf68dc30a5 [api test doc] Improve HTTPS support. Update minor documentation. Change tests accordingly. 2011-04-17 02:20:36 -04:00
indexzero
4d18ac1ae6 [test] Add WebSocket tests 2011-04-16 23:46:08 -04:00
indexzero
cfddd12e82 [api] Update .proxyRequest() and .proxyWebSocketRequest() APIs to take an options hash instead of a set of arguments. Add HTTPS support. 2011-04-16 23:08:40 -04:00
indexzero
3588687874 [test] Small update to proxy-table-test.js 2011-03-19 13:48:45 -05:00
indexzero
571531820e [doc api test] Wrap things up for v0.4.0 release: Add hostnameOnly routing to ProxyTable, add more documentation, fix edge-cases until they can be further investigated in node.js core 2011-03-10 08:22:50 -05:00
indexzero
4110448046 [doc api test] Rename HttpProxy.pause to HttpProxy.resume. Update documentation and tests accordingly 2011-03-09 23:53:41 -05:00
indexzero
389159da1b [api test] All tests are passing when run as individual files 2011-03-09 16:25:32 -05:00
indexzero
e39a9f93d2 [api] Further work on refactor for node 0.4.0 2011-03-09 02:12:58 -05:00
indexzero
9faa924a29 [api] First pass at removing pool and working with node v0.4.0 2011-02-21 04:39:51 -05:00
indexzero
8251296d7f [dist minor] Removed vendored pool. Changed all references of sys to util 2010-11-22 00:09:51 -05:00
indexzero
00014d624c [api test bin doc] Added bin script and simple logging 2010-11-21 23:43:25 -05:00
indexzero
c06f4bf7fe [test doc api] Added forward proxy functionality with tests 2010-11-21 22:41:47 -05:00
indexzero
bedc7a3ae5 [api test doc] Updated tests. Added ProxyTable functionality 2010-11-21 18:35:13 -05:00
indexzero
8c3e993833 [test] Simplified tests. Added tests for experimental websocket support 2010-11-21 02:07:07 -05:00
Fedor Indutny
f84880fcd9 No-server fix 2010-11-03 09:19:16 +06:00
Fedor Indutny
56003b5276 Added support of automatic websocket tunneling, added test for it 2010-09-16 11:43:35 +07:00
Fedor Indutny
7249ef3ee7 WebSocket proxy support, fixed 304 code halting 2010-09-15 11:39:35 +07:00
indexzero
a9084b923a [api test dist doc] Updated for 0.3.0 release 2010-09-09 23:13:09 -04:00
indexzero
66afb2a2a3 [api] Revert to old 0.1.x codebase for bug testing and performance comparison 2010-09-09 17:25:12 -04:00
indexzero
1221939acc [api] Completely refactored node-http-proxy with help from Mikeal 2010-09-06 23:37:00 -04:00
Marak Squires
972c8c0527 updated paths to use npm 2010-08-02 22:32:00 -04:00
Marak Squires
15c18b612d fixed additional port / server mismatches for new api 2010-08-02 21:49:10 -04:00
Marak Squires
bde98f4892 changed api to better reflect nodes api. updated demos, tests, docs 2010-08-02 21:29:35 -04:00
indexzero
2f265a23e4 [test] Updated node-http-proxy tests 2010-08-01 23:31:48 -04:00
indexzero
5d94ae27bc [api] More changes for createServer api 2010-08-01 21:58:01 -04:00
Marak Squires
85f7372341 initial release v0.1.0, sure to have many updates coming. 2010-07-27 21:05:51 -04:00
Marak Squires
6e651f420f updating docs, almost there 2010-07-27 17:35:07 -04:00
Marak Squires
b1eb13eb70 added createServer but hated it, gonna remove 2010-07-27 17:26:13 -04:00