1044 Commits

Author SHA1 Message Date
indexzero
9c13ad46e4 [dist] Version bump. 0.10.1 v0.10.1 2013-04-12 04:55:26 -04:00
Charlie Robbins
3763dc935f Merge pull request #370 from jmatthewsr-ms/master
Fix for slab buffer retention, leading to large memory consumption
2013-04-09 11:02:56 -07:00
indexzero
71183bf30b [dist] Version bump. 0.10.0 v0.10.0 2013-03-18 01:53:12 -04:00
indexzero
8665f3cc60 [dist] Update CHANGELOG.md 2013-03-18 01:53:03 -04:00
Charlie Robbins
4335f49b0e Merge pull request #385 from nodejitsu/breaking-proxy-response
Change the emitter of the `proxyResponse` event
2013-03-17 22:51:50 -07:00
Charlie Robbins
ea10bb22d9 Merge pull request #383 from thefosk/master
Fixing a bug that generates an unexpected TypeError
2013-03-17 22:50:17 -07:00
indexzero
2620f06e2d [fix breaking] Emit the proxyResponse event on the HttpProxy instance to reduce listener churn and reference counts. 2013-03-18 01:49:01 -04:00
Charlie Robbins
3ebc795c33 Merge pull request #384 from No9/master
Mention Harmon used for response modifications in the readme
2013-03-16 07:56:26 -07:00
No9
4e42354e77 Harmon messsage 2013-03-16 12:17:54 +00:00
No9
35ba0db554 Harmon messsage 2013-03-16 12:17:35 +00:00
thefosk
c9b6895c5e Fixing the if statement as it lead to 'TypeError: Parameter 'url' must be a string, not undefined' in certain cases 2013-03-14 19:09:03 -07:00
indexzero
701dc698e3 [dist] Version bump. 0.9.1 v0.9.1 2013-03-09 05:09:18 -05:00
indexzero
ea5e214522 [dist doc] Updated CHANGELOG.md for v0.9.1 2013-03-09 05:09:10 -05:00
indexzero
c78356e9cf [breaking] Ensure that webSocketProxyError also receives the error to be consistent with proxyError events. 2013-03-09 05:08:55 -05:00
indexzero
c68e038912 [dist] Version bump. 0.9.0 v0.9.0 2013-03-09 04:59:53 -05:00
indexzero
133115c976 [doc dist] Update CHANGELOG.md for v0.9.0. 2013-03-09 04:59:41 -05:00
indexzero
ad213106d0 [dist] Update devDependencies 2013-03-09 04:59:19 -05:00
indexzero
ea0587a8f9 [minor] Small whitespace compliance. 2013-03-09 04:42:07 -05:00
indexzero
5d515e4728 [api test] Manually merge #195 from @tglines since that fork was deleted. Update tests to use new macros. Fixes #195. Fixes #60. 2013-03-09 04:20:05 -05:00
Mikkel Garcia
5e6be6ccf5 [doc] added comments to pathnameOnly block. 2013-03-09 03:18:15 -05:00
Mikkel Garcia
a1607c1684 pathnameOnly option documented in the Readme.md 2013-03-09 03:18:11 -05:00
Mikkel Garcia
46b078a98d pathnameOnly flag added. Ignores hostname and applies routing table to the paths being requested. 2013-03-09 03:18:07 -05:00
Niall O'Higgins
10f6b05775 add support for loading CA bundles
fix loop

typo

another typo *sigh*

this wasn't doing what I thought it was doing.
2013-03-09 03:12:58 -05:00
Niall O'Higgins
2c3650746c problem: don't want to run my server as root to bind to privileged ports (e.g. 80, 443).
solution: support privilege drop after socket bind via new --user <username> parameter.
2013-03-09 03:12:52 -05:00
pdoran
89d43c20dd Added timeout option and test to test new timeout parameter, added requestFail assertion. 2013-03-09 03:04:29 -05:00
indexzero
476cbe741f [minor] Move private helper to end of file. 2013-03-09 02:44:46 -05:00
indexzero
9be0af3166 [fix] Set "content-length" header to "0" if it is not already set on DELETE requests. Fixes #338. 2013-03-09 02:44:28 -05:00
indexzero
a89e2f2688 [fix] Do not use "Transfer-Encoding: chunked" header for proxied DELETE requests with no "Content-Length" header. Fixes #373. 2013-03-09 02:40:09 -05:00
indexzero
6a278b3dd8 [fix] http-proxy should not modify the protocol in redirect request for external sites. Fixes #359. 2013-03-09 02:35:50 -05:00
indexzero
3130665d9f [fix] Emit notFound event when ProxyTable location does not exist. Fixes #355. Fixes #333. 2013-03-09 02:29:58 -05:00
indexzero
4c1a2c1416 [fix] Make options immutable in RoutingProxy. Fixes #248. 2013-03-09 02:21:31 -05:00
colinmollenhour
b1c4bd61e8 Remove data event that is not needed after-all. 2013-03-09 01:48:42 -05:00
Colin Mollenhour
3b86a7aae3 Add 'proxyResponse' event so observer can modify response headers or abort response. 2013-03-09 01:48:37 -05:00
Colin Mollenhour
4c130f5dac Allow event observers to access upstream response headers and data. 2013-03-09 01:48:29 -05:00
indexzero
9cecd97153 [minor] s/function(/function (/ s/){/) {/ 2013-03-09 01:43:25 -05:00
indexzero
440013c263 [fix doc] Fix bad variable reference in README.md. 2013-03-09 01:36:57 -05:00
jpetazzo
ba65a485fc Fix typo which slipped in during patch clean-up 2013-03-09 01:21:30 -05:00
jpetazzo
ef66833c4d Fix truncated chunked responses 2013-03-09 01:21:21 -05:00
Charlie Robbins
af9eb06e47 Merge pull request #298 from Kami/connection_keep_alive_on_1_1
If HTTP 1.1 is used and backend doesn't return 'Connection' header, expicitly  return Connection: keep-alive.
2013-03-08 22:11:37 -08:00
indexzero
28a3b0a6f0 [fix] Remove special case handling of 304 responses since it was fixed in 182dcd3. Fixes #322. 2013-03-09 01:10:02 -05:00
Gilad Oren
ecb547223f Add tests for headers bug fixes 2013-03-09 01:05:27 -05:00
Yosef Dinerstein
ffe74ed299 - support unix donain sockets and windows named pipes (socketPath) on node 0.8.x. On node 0.6.x the support was opaque via port, but on the new node, socketPath should be set explicitely.
- avoid adding multiple headers with the same name
- fix bug in setting connection
2013-03-09 01:05:22 -05:00
Charlie Robbins
eee6babc98 Merge pull request #332 from ramitos/patch-1
add "with custom server logic" to the "Proxying WebSockets" section of the readme
2013-03-08 21:45:30 -08:00
indexzero
c6da760ca9 Revert "[fix minor] Prevent crashes from attempting to remove listeners more than once when proxying websocket requests."
This reverts commit a681493371ae63f026e869bf58b6fea682dc5de3.
2013-03-09 00:43:25 -05:00
indexzero
a681493371 [fix minor] Prevent crashes from attempting to remove listeners more than once when proxying websocket requests. 2013-03-09 00:40:00 -05:00
unknown
2055d0c8ec memory leak fix in closing of the scokets 2013-03-09 00:36:19 -05:00
indexzero
013cb2e0c2 [fix] Ensure response.headers.location is defined. Fixes #276. 2013-03-09 00:28:50 -05:00
indexzero
deca7565c5 [doc fix] Add undefined var in example. 2013-03-09 00:24:04 -05:00
Oscar Östlund
64efa7f929 Added comments 2013-03-09 00:23:41 -05:00
Oscar Östlund
83fbd42506 Added simple round robin example with websocket support 2013-03-09 00:23:36 -05:00