1044 Commits

Author SHA1 Message Date
indexzero
840f6d8d29 [dist] Version bump. 0.10.4 v0.10.4 2013-12-27 00:05:18 -08:00
indexzero
a81dd8d53e [dist] Bump dependencies. 2013-12-27 00:04:25 -08:00
vinodsr
8eb6780f87 added option for eventlistenerCount(max) 2013-12-27 00:01:15 -08:00
vinodsr
1333c0cc62 added unlimited listeners to the reverproxy event obj. 2013-12-27 00:01:07 -08:00
indexzero
2d42709c32 [fix] Optimize fix for x-forwarded-for-port. 2013-12-26 23:59:48 -08:00
blahed
d4e91ebc33 determine x-forwarded-port from host header
`req.remotePort' returns the ephemeral port, which is not useful.
node v0.10.0 added `req.localPort' which returns what we want, but
we want to maintain backwards compatibility. Fixes #341 & #227
2013-12-26 23:52:05 -08:00
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
162a42f58f [fix] legacy 2013-12-20 21:33:49 +01:00
yawnt
9243444ac0 fix docs 2013-12-20 20:24:49 +01:00
yawnt
db12f6c24e [docs] add UPGRADING.md 2013-12-20 20:22:40 +01:00
yawnt
16828a9915 Merge pull request #520 from nodejitsu/better-examples
Better examples
2013-12-18 10:03:46 -08:00
cronopio
e2a5d513ca Set travis to run npm test while we fix coveralss.io integration 2013-12-18 12:18:59 -05:00
cronopio
d83fdf69a1 [tests] disabled the examples-test by now 2013-12-18 12:18:59 -05:00
cronopio
bc236d7e95 [tests] Added a test case for run all the examples
* I changed all the ports across examples to be different and can run at same time
2013-12-18 12:18:58 -05:00
cronopio
c82ff2c3c0 [examples] updated bodyDecoder middleware example 2013-12-18 12:18:58 -05:00
cronopio
d7064f2e1e [examples] added error-handling using callbacks and HTTP-to-HTTPS examples 2013-12-18 12:18:58 -05:00
cronopio
de3ff11656 [examples] updated the modifyResponse-middleware example 2013-12-18 12:18:58 -05:00
cronopio
2142c506e0 [examples] add example of gzip using the connect.compress() middleware 2013-12-18 12:18:58 -05:00
cronopio
e592c53d1a [examples] fix the copyright header of example files 2013-12-18 12:18:58 -05:00
cronopio
d85ccdd333 [examples] added package.json with the dependencies needed by examples 2013-12-18 12:18:58 -05:00
cronopio
831a44b3c8 [examples] updated balancer examples 2013-12-18 12:18:58 -05:00
cronopio
ed8c9eeba9 [examples] updated websockets examples 2013-12-18 12:18:58 -05:00
cronopio
588327c2c4 [examples] updated old examples 2013-12-18 12:18:58 -05:00
cronopio
e02317ce86 [examples] updated old proxy examples 2013-12-18 12:18:58 -05:00
cronopio
b726116134 [examples] update forward and custom error examples 2013-12-18 12:18:58 -05:00
cronopio
7e44d3669b [examples] update old examples 2013-12-18 12:18:58 -05:00
cronopio
bdeabb767a [examples] deleted this examples 2013-12-18 12:18:58 -05:00
cronopio
cfd417de23 [tests] fix tests set correct host headers 2013-12-18 12:17:41 -05:00
cronopio
c4d56a5faf [tests] fix test using undefined url 2013-12-18 11:50:49 -05: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
yawnt
9e74a633a7 [fix] closes #529 2013-12-18 12:45:41 +01:00
yawnt
97e4600e94 [fix] fixes #341 2013-12-18 12:33:23 +01:00
cronopio
03880d8d06 [docs] typos, typos everywhere... 2013-12-13 13:06:19 -05:00
cronopio
0393b5da99 [docs] more short examples to the Readme 2013-12-13 12:58:37 -05:00
cronopio
ae0faef5aa [docs] Update readme with more how to 2013-12-09 12:33:16 -05: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
cronopio
584ce76e75 [misc] add a LICENSE file 2013-11-19 20:03:23 -05:00
yawnt
10c0f11b68 [fix] remove duplicate 2013-11-19 20:05:46 +01:00
yawnt
83367e7e91 Merge pull request #518 from bfirsh/fix-ws-error-handling
Fix websocket error handing
2013-11-18 15:27:23 -08:00
Ben Firshman
cb7af4f4d7 Fix websocket error handing
Websockets have sockets, not responses.
2013-11-18 23:06:56 +00:00
yawnt
dcb873ad99 [doc] update README.md 2013-11-13 18:29:15 +01:00
cronopio
54eceb4a86 Merge branch 'caronte' of github.com:nodejitsu/node-http-proxy into caronte 2013-11-11 11:22:23 -05:00