909 Commits

Author SHA1 Message Date
yawnt
3330e125aa Merge pull request #552 from nodejitsu/caronte-merge
Http proxy 1.0
v1.0.0
2014-01-16 07:34:37 -08:00
yawnt
d6d2d0c882 [fix] remove caronte 2014-01-16 16:28:08 +01:00
yawnt
d4942e52e7 Merge pull request #551 from nodejitsu/caronte
Caronte
2014-01-16 07:25:15 -08:00
yawnt
d23353d980 [fix] ee3 error handling 2014-01-16 15:05:52 +01:00
yawnt
4351ed1c86 [fix] closes #547 2014-01-16 15:03:44 +01:00
yawnt
0ba4fa8e5e Merge pull request #549 from mmoulton/caronte
Only emit response if a valid server is present
2014-01-14 01:23:28 -08:00
Mike Moulton
969a623542 Only emit response if a valid server is present 2014-01-14 00:45:42 -07:00
yawnt
0b642d4cf7 Merge remote-tracking branch 'origin/caronte' into caronte-merge 2014-01-08 10:19:11 +01:00
yawnt
a4ee8f9d82 [nuke] old files 2014-01-08 10:19:06 +01:00
yawnt
2c8edc170d Merge pull request #539 from nodejitsu/fix-before-after
[fix] add `type` to before and after to grab correct `passes`, fixes #537
2013-12-29 14:20:46 -08:00
Jarrett Cruger
c47adac391 [fix] add type to before and after to grab correct passes, fixes #537 2013-12-29 16:00:30 -05:00
yawnt
c17b591b7d Merge pull request #536 from nodejitsu/caronte-api
export the proxy itself from the main require
2013-12-28 10:58:28 -08:00
Jarrett Cruger
6fa23e11f6 [fix] comments 2013-12-27 19:04:44 -05:00
Jarrett Cruger
182c76cd23 [api] export the httpProxy.Server as the main export but preserve the createServer factory 2013-12-27 19:01:28 -05:00
yawnt
e5991519db [docs] upgrade UPGRADING.md 2013-12-27 23:38:48 +01:00
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