909 Commits

Author SHA1 Message Date
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
Otávio Ribeiro
9672b99271 cleanning 2013-03-09 00:20:46 -05:00
Otávio Ribeiro
8d8739999f cleanning 2013-03-09 00:20:42 -05:00
Otávio Ribeiro
31fc94aa5e working on x-forwarded-for 2013-03-09 00:20:38 -05:00
Otávio Ribeiro
133240937d working on x-forwarded-for 2013-03-09 00:20:33 -05:00
Otávio Ribeiro
916d44e3d2 Routing Proxy was not sending x-forward-*. Fixing It... 2013-03-09 00:20:26 -05:00
Charlie Robbins
025adc2912 Merge pull request #365 from adjohnson916/master
routing proxy 'this' reference bug?
2013-03-08 21:14:14 -08:00
Charlie Robbins
8b38c994a9 Merge pull request #374 from erasmospunk/master
fixed issue #364 'proxyError' event emitted twice
2013-03-08 21:11:56 -08:00
Charlie Robbins
c686ac7b01 Merge pull request #349 from jamie-stackhouse/patch-1
Misleading documentation for Websockets via .createServer
2013-03-08 20:49:05 -08:00
jamie-stackhouse
603106a13d Re-added previous description 2013-02-22 10:31:44 -04:00
jamie-stackhouse
ee6bbe0024 Change wording for handling websocket proxy events 2013-02-22 09:59:16 -04:00
Giannis Dzegoutanis
3b84e27ab4 remove offending code, final fix for issue #364 2013-02-12 20:43:22 +01:00
Giannis Dzegoutanis
43e5f33320 fixed issue #364 'proxyError' event emitted twice 2013-02-10 23:07:40 +01:00
Justin Matthews
d2888c83f5 Fix for retaining large slab buffers in node core 2013-01-24 15:44:06 -08:00
Anders Johnson
15afc23a27 fix 'this' reference in routing proxy listener bindings 2013-01-12 21:55:46 -06:00
Maciej Małecki
26d3646ff2 [dist] Bump version to 0.8.7 v0.8.7 2012-12-23 00:56:23 +01:00
Maciej Małecki
223eacda85 [fix] Don't remove error listener after response ends
In some rare cases, `error` event might still be emitted after the
response has ended. This is (most likely) a bug in the `node` core.
2012-12-23 00:44:21 +01:00
Maciej Małecki
edfe869159 [fix] Handle errors on request object
Sometimes a request emits `error` event with a `Parse Error`.
2012-12-21 20:56:01 +01:00
Maciej Małecki
6cd78f6af9 [dist] Bump version to 0.8.6 v0.8.6 2012-12-21 16:51:47 +01:00
Maciej Małecki
2a61ec85bd [fix] Handle socket errors 2012-12-13 00:02:54 +01:00
Maciej Małecki
7bc1a628fe [bench] More exact size display 2012-11-30 13:54:36 +01:00
Maciej Małecki
b81d9b71da [dist] Update devDependencies 2012-11-30 03:25:53 +01:00
Maciej Małecki
6797a2705a [bench] Add a benchmark for websockets throughput 2012-11-30 03:25:53 +01:00
Maciej Małecki
2bd9cd9adb [bench] Remove silly "benchmarks" 2012-11-30 03:25:53 +01:00
Charlie Robbins
8b3cfdaaea Merge pull request #337 from indutny/feature-304-end
http-proxy: 304 responses should emit 'end' too
2012-11-29 03:51:42 -08:00
Fedor Indutny
0fd5884a0f http-proxy: 304 responses should emit 'end' too 2012-11-21 12:21:55 +04:00
Maciej Małecki
22639b3781 [dist] Bump version to 0.8.5 v0.8.5 2012-11-16 06:19:31 +01:00
Sérgio Ramos
03dbe115c2 add "with custom server logic" to the "Proxying WebSockets" section of the readme.md 2012-11-08 09:47:44 +00:00
Colton Baker
8a88774ecf [fix] Convert strings to numbers if possible in .createServer
Fixes #321
2012-11-06 17:47:47 -05:00
Maciej Małecki
b8c27ed565 [fix] Correctly kill test processes 2012-10-29 12:59:04 +01:00
Maciej Małecki
886a395429 [test] Delete invalid core test 2012-10-29 12:50:41 +01:00
Maciej Małecki
9042665ea9 [test] Stop testing on node v0.9, tests timeout 2012-10-28 14:43:15 +01:00
Maciej Małecki
41c9a9caad [test] Run core tests on npm test 2012-10-28 14:42:18 +01:00
Maciej Małecki
74ec175715 [test] Kill child process when exiting test runner 2012-10-28 14:31:15 +01:00
Maciej Małecki
3531fd609a [test] Make global detection work with older node versions 2012-10-28 14:25:36 +01:00
Maciej Małecki
fefbf04ac0 [test] Upgrade common.js from node core 2012-10-28 13:56:53 +01:00