indexzero
7e8041d2b6
[dist minor] 2 space indents next time @samalba
2013-12-26 23:50:19 -08:00
Sam Alba
8332e74420
Prevent headers to be sent twice
2013-12-26 23:48:06 -08:00
Phil Jackson
145798062e
Put the arguments the right way around in the README.
2013-12-26 23:39:49 -08:00
Phil Jackson
7c8ecc8ea8
Put the arguments the right way around in emitter.
2013-12-26 23:39:44 -08:00
Phil Jackson
25bb3bfa70
Update the README to describe middleware err handler.
2013-12-26 23:39:40 -08:00
Phil Jackson
bc12ca3939
Emit middlewareError when on middleware error.
...
Now it's possible to pass an Error object to next() and have it handled
in a custom way that's suitable to your application.
2013-12-26 23:39:37 -08:00
Jan Jongboom
781c038f2b
Fix for #458 . Host header may cause some sites not to be proxyable with changeOrigin enabled
2013-12-26 23:35:47 -08:00
Charlie Robbins
d60f1a9353
Merge pull request #521 from derekdreery/patch-1
...
Update README.md
2013-12-26 23:10:25 -08:00
yawnt
4d65280ea3
[fix] remove old reminescence
2013-12-18 13:30:02 +01:00
yawnt
36389384cb
Merge pull request #416 from MiLk/req-path
...
Send path in req.path and not the url
2013-12-18 03:49:59 -08:00
derekdreery
ef8150af95
Update README.md
...
I struggled to get the section about using https to http with two certificates to work, because I didn't understand where the myCert etc. came from. Once I realised they had to be created by the user I could get it working. I want to save someone else the time it took me.
2013-11-21 17:33:19 +00:00
yawnt
611a1b1961
[fix] add 0.10 link, fixes #459
2013-09-17 10:38:25 +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
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