1044 Commits

Author SHA1 Message Date
Dominic Tarr
b5d5eaabab [doc] note in readme about middleware 2011-08-02 14:51:36 +10:00
Dominic Tarr
d3c06973a1 [minor] add example of using middleware to gzip response 2011-08-02 14:51:36 +10:00
Dominic Tarr
7976de1121 support old (port,host) and (options) style when using middlewares 2011-08-02 14:51:36 +10:00
Dominic Tarr
c773eedeb6 [minor] add middleware to node-http-proxy 2011-08-02 14:51:36 +10:00
KimSchneider
2caa5d2b0d The number of maxSockets has to be set after the agent is created. Setting the property in the constructor does not work. 2011-08-01 13:22:30 +03:00
Dominic Tarr
b54666ff69 [minor] add middleware to node-http-proxy 2011-07-24 23:17:24 +10:00
Dominic Tarr
25c06a3a95 [fix] handler variable in createServer was global (!) 2011-07-23 05:40:29 -07:00
Dominic Tarr
03475a5944 [dist] bump version 6.0 2011-07-21 23:55:43 +10:00
Dominic Tarr
e3d95ecab2 [minor] default enableXForwarded to true 2011-07-21 23:53:25 +10:00
Dominic Tarr
5d33ad7118 [dist] bump version 5.12 2011-07-21 23:52:30 +10:00
Dominic Tarr
76aa982181 Merge pull request #73 from DanBUK/master
This adds a flag to ProxyRequest to disable the setting of x-forwarded-[for|port|proto]
(will change default to true in next commit)
2011-07-21 06:38:48 -07:00
Dominic Tarr
efa17ef6cf [fix] use routing table mhen proxying WebSockets.
closes issue #72
2011-07-21 23:08:11 +10:00
DanBUK
ee3506a8e7 Updating to enableXForwarded 2011-07-19 09:57:21 +01:00
DanBUK
404818b1dc Allow forwarding for x-forwarded-[for|port|proto] to enabled layering of http-proxies. 2011-07-18 12:07:54 +01:00
indexzero
baf0b9e25a [dist] Version bump. 0.5.11 v0.5.11 2011-06-26 13:25:46 -04:00
indexzero
f0649d8d6a [doc] Updated docco docs 2011-06-26 13:05:59 -04:00
indexzero
eb6f9a6354 [api] Simplify the usage for the .changeHeaders option. Fixes #34 2011-06-26 12:21:06 -04:00
indexzero
9d9509f791 [doc] Small update to code docs 2011-06-26 10:56:12 -04: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
fcfe84626f [doc] Added examples/latent-websocket-proxy.js 2011-06-23 04:48:02 -04:00
indexzero
1ee8ae7104 [doc] Add examples/standalone-websocket-proxy.js 2011-06-23 04:36:16 -04:00
indexzero
b608a029f8 [minor] Add missing space 2011-06-23 04:34:47 -04:00
indexzero
4cdbf0e872 [doc] Added sample for custom error messages using the proxyError event 2011-06-15 09:39:35 -04:00
indexzero
7b574d3d3e [dist] Version bump. 0.5.10 v0.5.10 2011-06-13 02:53:01 -04:00
indexzero
653c6ca1af [doc] Bump version in README.md 2011-06-12 18:29:05 -04:00
indexzero
887c5808c9 [refactor] Manage our own internal list of Agent instances 2011-05-25 00:48:44 -06:00
indexzero
a1cdf005b9 [test] Update tests to use localhost 2011-05-23 16:46:48 -04:00
indexzero
b4ac4d441f [doc] Update docco docs for 0.5.9 2011-05-23 02:23:16 -04:00
indexzero
57ca62c878 [dist] Version bump. 0.5.9 v0.5.9 2011-05-23 02:18: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
76ecb51e7b [dist] Version bump. 0.5.8. Forwards compatible with new versions of nodejs v0.5.8 2011-05-21 10:43:16 -04:00
indexzero
74120d8988 [doc] Update docco docs 2011-05-21 10:42:46 -04:00
indexzero
a865fe662f [test] Update to vows description for web-socket-proxy-test.js 2011-05-21 10:42:31 -04:00
indexzero
a86d18bc7f [fix] Dont force Connection: close now that Keep-Alive is supported 2011-05-21 10:41:51 -04:00
indexzero
6fd272ac18 [doc] Update to v0.5.7 in code and README.md 2011-05-19 02:48:46 -04:00
indexzero
c5fd368a8d [doc] Regenerate docco docs 2011-05-19 02:48:31 -04:00
indexzero
0911c1719e [dist] Version bump. v0.5.7. Only good on node v0.4.7. See issue #48. v0.5.7 2011-05-19 02:45:39 -04:00
indexzero
421895fa30 [api] Add x-forwarded-proto and x-forwarded-port to proxied HTTP requests 2011-05-19 02:43:41 -04:00
indexzero
e9b3ec9b1d [fix] Set x-forwarded-for from req.connection.socket.remoteAddress if req.connection.remoteAddress is not defined 2011-05-19 02:27:38 -04:00
indexzero
f1c0f641aa [dist] Version bump. v0.5.6 Only good on node v0.4.7. See issue #48. v0.5.6 2011-05-19 01:59:47 -04:00
indexzero
5d2192e654 [api minor] Small refactor to emit webSocketProxyError from a single helper function on any of the various error events in the proxy chain 2011-05-19 01:53:55 -04:00
indexzero
652cca37ea [api] Manual merge of #46: add custom proxyError event and enable production error handling. 2011-05-19 01:38:08 -04:00
indexzero
bd45216bc9 [doc] Regenerate docco docs 2011-05-19 01:33:23 -04:00
indexzero
76580c292a [fix doc] Add error handler to reverseProxy request when proxying WebSockets to prevent unhandled ParseError. Rename some variables in proxyWebSocketRequest to make the code more readable 2011-05-19 01:33:03 -04:00
indexzero
acacc0561f [dist] Version bump. 0.5.5. Only good on node v0.4.7. See issue #48. v0.5.5 2011-05-19 00:38:00 -04:00
indexzero
7bf0caef9f [fix] Change variable references for Websockets, bugs found from using wsbench 2011-05-19 00:37:18 -04:00
indexzero
32a15dd79d [minor] Update README.md to conform to Github flavored markdown v0.5.4 2011-05-18 21:09:31 -04:00
indexzero
521fe27185 [minor] Update README.md to conform to Github flavored markdown 2011-05-18 21:08:25 -04:00
indexzero
c04eec1c37 [dist] Version bump. 0.5.4. Only good on node v0.4.7. See issue #48. 2011-05-18 21:06:56 -04:00
indexzero
abc01bce29 [doc] Update README.md to reflect the new HTTPS to HTTP proxy capabilities 2011-05-18 21:06:34 -04:00