1034 Commits

Author SHA1 Message Date
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
Maciej Małecki
3d618777ea Merge pull request #323 from indutny/fix-maciej-issue
lib: allow overriding maxSockets
2012-10-25 18:13:59 -07:00
Fedor Indutny
a487dc9b58 lib: allow overriding maxSockets 2012-10-26 01:39:13 +04:00
Maciej Małecki
4d7e8a808d [dist] Bump version to 0.8.4 v0.8.4 2012-10-23 22:01:57 +02:00
Maciej Małecki
ebfdbede31 Merge pull request #320 from indutny/master
Events patch
2012-10-23 12:59:33 -07:00
Fedor Indutny
5df6e7bdb8 http-proxy: emit websocket:start
* routing-proxy: allow listening for websocket:* event
2012-10-23 23:54:23 +04:00
Farrin Reid
1df2b30e84 Merge pull request #315 from yawnt/options-doc
documentation for options
2012-10-15 12:19:26 -07:00
yawnt
213e03c998 [fix] function 2012-10-15 20:58:30 +02:00
yawnt
d4cb9dad6c [docs] more options 2012-10-14 20:25:19 +02:00
yawnt
4c8e1d96a3 [docs] options 2012-10-14 19:36:02 +02:00
Maciej Małecki
2e7d8a88f4 [fix] Partial fix for rejecting self-signed certs in tests
Since joyent/node@35607f3a2d, https and
tls modules validate server certificate by default. Turn this feature
off since we're using self-signed certificates in tests.

Currently wss tests are still failing, pending investigation.

Commited on a plane from Poznań to Munich.
2012-09-27 10:00:10 +02:00
Maciej Małecki
eafdc744b6 [refactor] Pass all options to Agent constructor 2012-09-27 10:00:10 +02:00
Maciej Małecki
e925e4928f Merge pull request #308 from peters/patch-1
Added travis build status
2012-09-24 16:20:16 -07:00
Bradley Meck
a89a5b8088 [dist] v0.8.3 2012-09-20 10:59:02 -05:00
Bradley Meck
698b01da8e [fix] spdy should look like https when forwarding (until we get a client) 2012-09-20 10:54:29 -05:00
Peter Rekdal
a64cec0be9 Added travis build status 2012-09-13 10:57:28 +03:00
Nuno Job
bf04bbde8f Merge pull request #302 from janl/patch-1
Fix installation instructions: s/http/https/
2012-08-27 08:48:41 -07:00
Jan Lehnardt
1db9542723 Fix installation instructions: s/http/https/ 2012-08-27 18:37:59 +03:00
Tomaz Muraus
850171cdc4 If HTTP 1.1 is used and backend doesn't return 'Connection' header, explicitly
return Connection: keep-alive.
2012-08-16 21:47:56 -07:00
Maciej Małecki
4f6387c17f [test] Add node v0.9 testing, test all branches 2012-08-10 21:46:58 +02:00
Maciej Małecki
cee27feedd [minor doc] Correct comment 2012-08-10 21:45:30 +02:00
Maciej Małecki
812868ddfc [minor] Remove setEncoding on incoming socket
This isn't needed as we don't do any string operations and `setEncoding`
results in a higher memory usage and is slower.
2012-08-10 21:43:55 +02:00
indexzero
1783ab0625 [fix] Dont use -i when running vows because it supresses --target= and --proxy= CLI arguments 2012-07-26 04:57:02 -04:00
indexzero
a454666e7a [fix] Ignore npm version errors when installing dependencies for examples 2012-07-26 04:53:48 -04:00
indexzero
c4a7b15843 [fix] Suppress EADDRINUSE errors from test/examples-test.js since we are just looking for require-time errors. Isolate tests to ensure idempotency of ports 2012-07-26 04:47:25 -04:00
indexzero
fd648a5290 [fix test] Fix examples to use newest version of socket.io and helpers. Added tests for ensuring that examples require as expected with no errors. 2012-07-26 04:29:47 -04:00