Jarrett Cruger
261742a429
[fix] cleanup and stylize close function
2014-08-14 17:16:56 -04:00
Jarrett Cruger
f92f7aea9b
Merge pull request #679 from RackspaceEmailAndApps/close_proxy
...
Added functionality to close proxy.
2014-08-14 17:12:42 -04:00
John Catron
8be9d945d0
updated close function for safety
2014-08-14 20:12:20 +00:00
Jarrett Cruger
0a6b424e2c
[dist] Version bump. 1.2.1
v1.2.1
2014-08-14 13:40:40 -04:00
Jarrett Cruger
37036dd325
[fix] emit an error if proper URL is not passed in as a target
2014-08-14 13:32:32 -04:00
John Catron
a3d02196c5
Added close method to proxy server.
...
Ensured server exists before closing.
Updated tests to use new close function.
Added documentation to README.
2014-08-14 17:30:38 +00:00
Jarrett Cruger
63c53a1772
[dist] Version bump. 1.2.0
v1.2.0
2014-08-05 17:27:21 -04:00
Jarrett Cruger
3e8ee042fb
Merge pull request #673 from digitalbazaar/mod-header-event
...
[api] Add event-based ability to modify pre-flight proxy requests.
2014-07-20 15:15:49 -04:00
Manu Sporny
db5f2954b2
[api] Add event-based ability to modify pre-flight proxy requests.
2014-07-18 11:46:04 -04:00
Jarrett Cruger
ed9e12b0ed
[dist] Version bump. 1.1.6
v1.1.6
2014-07-17 10:57:38 -04:00
Jarrett Cruger
5f838541cb
do proper checking for a pass not existing. fixes #671
2014-07-17 10:56:53 -04:00
Jarrett Cruger
7104a7c023
[dist] Version bump. 1.1.5
v1.1.5
2014-07-09 23:27:35 -04:00
Jarrett Cruger
d1baa3684e
[api] also emit the target on a proxy error
2014-07-08 16:12:57 -04:00
Jarrett Cruger
e50846b967
Merge pull request #666 from eiriklv/master
...
Fix simple-balancer example
2014-07-08 12:08:51 -04:00
Eirik Langholm Vullum
9df4bc1e12
fix balancer example
2014-07-04 23:37:23 +02:00
Jarrett Cruger
f6bac7b257
Merge pull request #658 from RushPL/master
...
Added proxyTimeout option and two tests for timeout
2014-06-10 13:11:13 -04:00
Damian Kaczmarek
48d46e6750
Merge branch 'master' of github.com:RushPL/node-http-proxy
2014-06-10 19:04:48 +02:00
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
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
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