161 Commits

Author SHA1 Message Date
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
indexzero
faf2618cf3 [doc] Update docco docs 2011-05-18 21:06:21 -04:00
indexzero
91737fadb6 [doc] Update examples for HTTPS to HTTP proxying 2011-05-18 21:06:12 -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
d9fa261cdc [dist] Version bump. v0.5.3. Only good on node v0.4.7. See issue #48. v0.5.3 2011-05-17 21:37:43 -04:00
indexzero
03b9087446 [doc minor] Update docs and code docs for v0.5.3 release 2011-05-17 21:36:49 -04:00
indexzero
9e36d2d2e6 [doc] Regenerate docco docs 2011-05-17 21:36:27 -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
360e79a005 [dist] Version bump. 0.5.2. Only good on node v0.4.7. See issue #48. v0.5.2 2011-05-17 18:38:17 -04:00
Olivier Lauzon
a5e1e3e70d [doc] Regenerate docco docs 2011-05-18 06:21:05 +08:00
Olivier Lauzon
d08c2bb525 [dist] Include docco module as a dev dependency 2011-05-18 06:21:05 +08: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
Olivier Lauzon
ff829467d3 [minor] Fix syntax in examples/ 2011-05-18 06:20:48 +08:00
Olivier Lauzon
e6c52d431f [dist] Use devDependencies in package.json 2011-05-18 06:20:47 +08:00
Olivier Lauzon
e90cbd6f14 [minor] Ignore npm modules and debug logs 2011-05-18 06:20:47 +08:00
Marak Squires
4a14bc0f29 Merge pull request #52 from benatkin/README
Readme: fix syntax error, reformat code blocks
2011-05-17 13:14:25 -07:00
Ben Atkin
ab8c264e6d add spacing around code blocks to fix README rendering 2011-05-17 13:22:20 -06:00
Ben Atkin
d5b9ba7180 don't highlight non-javascript as javascript 2011-05-17 13:19:15 -06:00
Ben Atkin
28f6dc153a format markdown for syntax highlighting on GitHub 2011-05-17 13:17:19 -06:00
Ben Atkin
332d2d780a fix syntax error in README example 2011-05-17 13:13:24 -06:00
indexzero
85223ea080 [fix] Manage bookkeeping for incoming requests to the underlying sockets behind reverse proxied websocket events. Only use the appropriate variables in the closure scope of the upgrade event from this bookkeeping 2011-05-13 17:53:14 -04:00
indexzero
6c80177340 [dist] Version bump. 0.5.1. Only good on node v0.4.7. See issue #48. v0.5.1 2011-05-10 15:30:56 -07:00
indexzero
40dc9dee2d Revert "Fixed "Invalid argument to getAgent" when proxying HTTP"
This reverts commit 642e15805dbd572835bb4fee9527e4f2da658833.
2011-05-10 15:29:03 -07:00
indexzero
57127a3671 [fix] Fix typo in bin/node-http-proxy 2011-04-26 18:52:58 -04:00
Charlie Robbins
ac425d70ef Merged pull request #39 from timmattison/master.
Looks like this may fix the issue that I reported
2011-04-26 14:20:53 -07:00
timmattison
642e15805d Fixed "Invalid argument to getAgent" when proxying HTTP 2011-04-26 12:27:24 -04:00
indexzero
ddf31b22ec [dist] Version bump. v0.5.0 v0.5.0 2011-04-17 03:27:55 -04: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
bd6a2622ad [doc] Update README.md 2011-04-17 03:14:59 -04:00
indexzero
40c51a703b [minor] Small update to README.md 2011-04-17 03:13:02 -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