1034 Commits

Author SHA1 Message Date
yawnt
4480699d3a [fix] use some 2013-09-03 20:57:22 +02:00
yawnt
a6256cac1d [fix] short circuit 2013-09-03 20:56:18 +02:00
cronopio
b85aa16e75 [test] test onError part, proxying to no where 2013-08-28 14:01:55 -05:00
cronopio
27df8d72ad [test] testing the onResponse proxy method 2013-08-28 13:45:09 -05:00
yawnt
abf1d90fdf [fix] use agent pool 2013-08-28 15:22:04 +02:00
yawnt
c9612798f1 [test] proxystream test 2013-08-28 14:58:57 +02:00
yawnt
8fc3389367 [test] add test for forwardstream 2013-08-28 14:49:27 +02:00
yawnt
f4e9945856 Merge pull request #3 from yawnt/tests
Tests
2013-08-28 05:18:08 -07:00
cronopio
2fac7b9b00 [test] added the lib/caronte/streams/forward.js initial test, one test pending 2013-08-26 16:34:32 -05:00
cronopio
c02b721321 [test] passes/web.js XHeaders func 2013-08-26 00:21:30 -05:00
yawnt
d40e4beb62 [test] passes/web.js (first 2 funcs) 2013-08-21 17:37:38 +02:00
yawnt
356f43d719 [fix] ProxyStraem now works 2013-08-20 17:32:29 +02:00
yawnt
d4f0da898e [fix] some stuff start debugging proxystream 2013-08-20 16:09:37 +02:00
yawnt
9ab8749a9b [feature] started working on error propagation, kinda sucks, gotta think it over 2013-08-10 20:41:25 +02:00
yawnt
bd3df45010 [fix] woops 2013-08-09 20:52:55 +02:00
yawnt
2e7343d728 [fix] making @jcrugzz a happy camper 2013-08-09 20:52:21 +02:00
yawnt
6a4294cbdf [feature] implement _write and _read 2013-08-09 19:40:40 +02:00
yawnt
4f24664e8a [api] add draft for proxystream 2013-08-09 19:37:58 +02:00
yawnt
cedc5c4bd2 [tests] add more tests 2013-08-09 19:13:44 +02:00
yawnt
335af81d02 [minor] remove coverage 2013-08-09 18:59:20 +02:00
yawnt
a255f984fe [fix] tests 2013-08-09 18:58:56 +02:00
yawnt
16eacfa961 [test] started writing tests 2013-08-03 16:54:48 +02:00
yawnt
004a46c09d [test] COVERAGE 2013-08-03 16:44:23 +02:00
yawnt
34f16e7464 [fix] making @stoke a happy camper 2013-08-03 15:56:05 +02:00
yawnt
d05af4af60 [refactor docs] add descriptions 2013-08-03 15:45:07 +02:00
yawnt
8273cb6461 [refactor] move to leaner architecture 2013-08-03 08:47:07 +02:00
yawnt
4d13156721 [dist] first 2013-08-01 10:50:39 +02:00
Maciej Małecki
ebbba73eda [test] Test on newer version of node 2013-06-20 15:37:48 +02:00
Maciej Małecki
2fd748fb61 [dist] Bump version to 0.10.3 v0.10.3 2013-06-20 15:29:14 +02:00
Maciej Małecki
e1d384e769 [fix] Respect maxSockets from target options in RoutingProxy 2013-06-20 15:28:47 +02:00
Charlie Robbins
5ff2b6e1a1 Merge pull request #419 from Raynos/patch-1
Pass default certs to SNICallback example
2013-06-14 19:20:24 -07:00
Raynos
f5e1844abd Pass default certs to SNICallback example
Using only SNICallback to create a HTTPS / TLS server is bad. It means all non SNI clients can't do anything because there are no certs.

in v0.10 of node TLS server was updated to throw if you forgot to supply certs.

Which means that every HTTPS server needs to supply certs as a fallback for when SNI is not available.

 - closes #399
2013-05-10 17:55:01 -06:00
Emilien Kenler
0c753234c0 Send path in req.path and not the url
Signed-off-by: Emilien Kenler <hello@emilienkenler.com>
2013-05-04 22:48:50 +02:00
indexzero
de0928f616 [dist] Version bump. 0.10.2 v0.10.2 2013-04-21 17:06:54 -04:00
indexzero
7fc39d77f4 [minor] Strip trailing whitespace. 2013-04-21 17:02:18 -04:00
indexzero
59b71c033f [minor] Style compliance. Fixes #402. 2013-04-21 17:01:20 -04:00
Ivan Jaramillo
985025c90f Add headers on 'handshake'
The headers in the 'handshake' event were not written to the socket, the client received data but not the headers.
2013-04-21 16:59:08 -04:00
Charlie Robbins
98f5c462ea Merge pull request #407 from GUI/master
Correct keep-alive responses to HTTP 1.0 clients
2013-04-21 13:25:35 -07:00
Nick Muerdter
daf53bd753 Don't test raw HTTP 1.0 requests over HTTPS. 2013-04-18 18:11:58 -06:00
Nick Muerdter
a29b5e8e28 Correct keep-alive responses to HTTP 1.0 clients.
Since the proxy requests comes from NodeJS's HTTP 1.1 request client, a
backend server may default to setting Connection: keep-alive in its
response. However, the real HTTP 1.0 client may not be able to
handle that.

Force HTTP 1.0 client's to Connection: close, unless the client
explicitly supports keep-alive.
2013-04-18 16:33:10 -06:00
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