1164 Commits

Author SHA1 Message Date
Damian Kaczmarek
7b79a7409a Change name targetTimeout to proxyTimeout 2014-06-10 19:04:12 +02:00
Damian Kaczmarek
4193d3bd74 Fix #657 2014-06-10 01:50:59 +02:00
Damian Kaczmarek
159ca83652 Fix #657 2014-06-10 01:50:13 +02:00
Damian Kaczmarek
0f243516e1 Added targetTimeout option and two tests for timeout 2014-06-10 01:35:53 +02:00
unknown
431aba79d8 Trimming contents of distributed npm package.
https://www.npmjs.org/doc/developers.html#Keeping-files-out-of-your-package
Keep deployments as small as they can be.
2014-05-21 14:10:52 -07:00
Jarrett Cruger
7cb98a4e41 [dist] Version bump. 1.1.4 v1.1.4 2014-05-11 19:03:07 -04:00
Jarrett Cruger
5ebf9833c8 Merge pull request #642 from bruce-one/proxyRes-req-res
`proxyRes` event, provide access to the req and res objects
2014-05-11 19:01:05 -04:00
Bryce Gibson
1385635e18 Add a test for the proxyRes event 2014-05-12 08:44:02 +10:00
Bryce Gibson
1213e46b1b Add the req and res objects to the proxyRes event 2014-05-12 08:22:54 +10:00
Jarrett Cruger
c472527ea6 [dist] Version bump. 1.1.3 v1.1.3 2014-05-11 01:03:39 -04:00
Jarrett Cruger
ccad177954 [minor] style 2014-05-11 01:02:35 -04:00
Jarrett Cruger
896ee7c9c3 Merge pull request #640 from jayharris/master
Don't override connection header if Upgrading
2014-05-09 23:25:45 -04:00
Jay Harris
8aa7c519b1 Adding test cases on preventing upgrade override 2014-05-09 22:49:23 -04:00
Jay Harris
d637b96420 Don't override connection header if Upgrading 2014-05-09 20:48:30 -04:00
Brett Kochendorfer
4947484806 Update README.md for benchmarks
Remove number of requests flag from `wrk` as it no longer exists. Swapped out for 5 minute duration.
2014-04-20 20:34:08 -05:00
Jarrett Cruger
c54278bd3b [dist] Version bump. 1.1.2 v1.1.2 2014-04-14 13:17:58 -04:00
Jarrett Cruger
61c8734e8b [fix test] handle proxy error since we are properly aborting the proxy Request 2014-04-14 13:17:18 -04:00
Jarrett Cruger
77a1cff9bc [fix] handle error on incoming request as well and properly abort proxy if client request is aborted 2014-04-14 13:08:10 -04:00
Jarrett Cruger
d908e2ad61 [dist] Version bump. 1.1.1 v1.1.1 2014-04-10 20:03:06 -04:00
Jarrett Cruger
4f07dc220d [fix] let user make the decision on what to do with the buffer 2014-04-10 20:02:46 -04:00
Jarrett Cruger
97ceeb37d0 [dist] Version bump. 1.1.0 v1.1.0 2014-04-09 13:38:40 -04:00
Jarrett Cruger
8b48a9fdab [api] emit a start an an end event 2014-04-09 13:38:13 -04:00
Jarrett Cruger
c6b7a7919f [fix] always be an eventemitter for consistency fixes #606 2014-04-09 13:37:27 -04:00
Jarrett Cruger
7e5feec34f Merge pull request #616 from hipstern/patch-1
Update UPGRADING.md
2014-04-06 02:41:27 -04:00
hipstern
d658c9fa39 Update UPGRADING.md
Fixing a typo
2014-04-05 11:05:17 -07:00
Jarrett Cruger
eca765a856 [minor] missing angle bracket 2014-03-26 22:48:35 -04:00
Jarrett Cruger
07fceb7c7a [dist] Version bump. 1.0.3 v1.0.3 2014-03-26 22:41:51 -04:00
Jarrett Cruger
ece85b4e1b [doc] update docs with toProxy option 2014-03-26 22:36:59 -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
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