1034 Commits

Author SHA1 Message Date
Jarrett Cruger
a7b16eb136 [api] add toProxy method to allow absolute URLs to be sent when sending to another proxy fixes #603 2014-03-26 21:59:10 -04:00
Jarrett Cruger
c22610af75 Merge pull request #592 from SkeLLLa/patch-1
Fix for #591
2014-03-11 18:03:12 -04:00
Alexander
99f757251b Fix for #591
Fix for proxy crash if `HOST` header is not defined bug https://github.com/nodejitsu/node-http-proxy/issues/591.
2014-02-26 15:12:38 +02:00
Sam Beran
e633b0f7e4 Add support for localAddress
When we make outgoing requests, we may want to bind to a specific local
address. This change allows the localAddress property to be specified
via the options object.
2014-02-11 15:01:03 -06:00
Jarrett Cruger
10670540ac Merge pull request #578 from xtreme-topher-bullock/patch-1
Add Repository field to package.json
2014-02-10 23:47:47 -05:00
@xtreme-topher-bullock / @xtreme-todd-ritchie
68fa17bbca @xtreme-topher-bullock - update package.json to have proper repository key and formatting 2014-02-10 10:07:00 -05:00
Topher Bullock
7923cf3c6b Add Repository field to package.json
Seeing "npm WARN package.json http-proxy@1.0.2 No repository field." makes me anxious and its such an easy action to add a repo field to the package.json.
2014-02-07 16:49:45 -05:00
Jarrett Cruger
81daf26a43 Merge pull request #575 from ozh/patch-2
Fix doc: option lines
2014-02-05 09:42:51 -05:00
྅༻ Ǭɀħ ༄༆ཉ
80f645c7c0 Fix doc: option lines 2014-02-05 15:03:36 +01:00
Jarrett Cruger
4bdc3e4f45 [dist] Version bump. 1.0.2 v1.0.2 2014-01-28 14:34:25 -05:00
David Glasser
4c3ba74c4e Close outgoing ws if incoming ws emits error
Fixes #559, which contains a full reproduction recipe.
2014-01-28 13:58:09 -05:00
Jarrett Cruger
daad4703f3 [fix] replicate node core behavior and throw an error if the user does not add their own error listener 2014-01-28 12:32:43 -05:00
yawnt
b60673522b Merge pull request #566 from Septembers/patch-1
Update README.md
2014-01-28 05:54:27 -08:00
Sep
4ecc6e26ce Update README.md
Syntax error correction
2014-01-28 21:51:59 +08:00
Arnout Kazemier
8004f4e5fc [doc] Fix broken image in npm by using an absolute link 2014-01-28 11:25:24 +01:00
yawnt
3b2178d1f7 Merge pull request #560 from meteor/fix-ws-arg-order
Fix argument order for ws stream pass
2014-01-27 23:04:09 -08:00
David Glasser
0b223abb65 Fix argument order for ws stream pass
head and error handling was broken before this commit.
2014-01-22 15:28:23 -08:00
Jarrett Cruger
7a53ec2fd6 Merge pull request #558 from p-a-c-o/master
Extend listen to enable IPv6 support.
2014-01-21 11:49:46 -08:00
p-a-c-o
96ea631fb6 Extend listen to enable IPv6 support. 2014-01-21 20:35:49 +01:00
yawnt
3e47c2485c Merge pull request #556 from alevicki/fix/before_and_after
Fix before and after type check
2014-01-20 09:55:28 -08:00
alevicki
c5ec1836b2 Fix before and after type check 2014-01-20 10:24:53 -06:00
yawnt
e936d186b6 [fix] closes #555 2014-01-19 11:49:26 +01:00
yawnt
68c5512303 [dist] bump v1.0.1 v1.0.1 2014-01-17 22:19:42 +01:00
yawnt
689459fe46 typo 2014-01-17 22:18:54 +01:00
yawnt
53a2653b5e [fix] closes #553 2014-01-17 22:18:20 +01:00
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