Jarrett Cruger
e7d50b1a37
[minor] extra space
2014-09-25 22:11:12 -04:00
Jarrett Cruger
c0a796b3e3
[fix] perf optimization so we have a precompiled regexp
2014-09-17 07:53:18 -04:00
MinRK
65a21bce6d
use regex to check for upgrade header
...
in websocket connections
2014-09-16 12:07:15 -07:00
MinRK
51eeebef68
handle 'upgrade' in comma-separated connection header
...
Firefox sends `keep-alive, upgrade`, not just `upgrade`,
which the proxy incorrectly turned into `close`
2014-09-16 11:15:17 -07:00
Arnout Kazemier
73e8a4cdd5
[minor] Added missing JSDoc comments
2014-09-12 19:21:12 +02:00
Samuel Reed
73d865bc9f
Fix breaking bug on url joining resulting in paths like ///path.
...
Added OS-agnostic url join helper.
2014-09-12 13:08:10 -04:00
Jarrett Cruger
ed73f06ed3
[fix] ensure path works on windows because path.join doesnt like URLs
2014-09-12 07:50:16 -04:00
Jarrett Cruger
9a534c6ff6
[api] add prependPath option to go with path change
2014-09-11 18:51:49 -04:00
Sean Massa
a65021d52b
fix tests for maintaining proxy path
2014-09-08 17:17:15 -05:00
Domi
511b7b3d47
Fix proxy path
...
This fix considers the actual target path again (which has been ignored).
2014-09-08 15:57:53 -05:00
Jarrett Cruger
ccad177954
[minor] style
2014-05-11 01:02:35 -04:00
Jay Harris
d637b96420
Don't override connection header if Upgrading
2014-05-09 20:48:30 -04:00
Jarrett Cruger
5251a238e7
Merge branch 'customizeOutgoingAddress' of github.com:sberan/node-http-proxy into sberan-customizeOutgoingAddress
...
Conflicts:
lib/http-proxy.js
lib/http-proxy/common.js
2014-03-26 22:30:11 -04:00
Jarrett Cruger
89a22bc003
[fix] set connection to CLOSE in cases where the agent is false.
2014-03-26 22:07:09 -04:00
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
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
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
fd42dcef01
[tests] https test pass, fix #511 . Exposed the rejectUnauthorized flag
2013-11-07 15:09:37 -05:00
indexzero
bb0d28c587
[refactor minor] s/caronte/http-proxy/ or s/caronte/httpProxy/ where appropriate.
2013-09-26 03:37:08 -04:00