895 Commits

Author SHA1 Message Date
Jarrett Cruger
e44fabe58a [test] add test for prependPath option 2014-09-11 18:51:49 -04:00
Jarrett Cruger
9a534c6ff6 [api] add prependPath option to go with path change 2014-09-11 18:51:49 -04:00
Arnout Kazemier
d1facd52c3 Merge pull request #644 from CaleyD/master
Trimming contents of distributed npm package.
2014-09-11 14:09:53 +02:00
Arnout Kazemier
5568cb5575 Merge pull request #669 from baer/remove-changelog
Remove changelog - it was not maintained
2014-09-11 14:08:50 +02:00
Arnout Kazemier
6ac05259ca Merge pull request #695 from outime/patch-1
Removed duplicated imported dependencies
2014-09-11 14:07:15 +02:00
Rubén Díaz
0e64568b4e Removed duplicated imported dependencies 2014-09-11 14:21:33 +03:00
Jarrett Cruger
fc73828035 [dist] Version bump. 1.3.1 v1.3.1 2014-09-09 13:22:17 -04:00
Jarrett Cruger
814fbd254d Merge pull request #693 from EndangeredMassa/fix-path
Allow proxy to maintain the original target path
2014-09-08 18:23:42 -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
6b83ae47bb [ci] remove 0.11.x to avoid failing builds caused by TLS errors 2014-09-08 16:28:51 -04:00
Jarrett Cruger
d16062bba2 Merge pull request #686 from joeyespo/master
Clarify usable parameters for 'proxyRes' event
2014-08-21 19:50:48 -04:00
Joe Esposito
49a0de1e7c Clarify usable parameters for proxyRes event. 2014-08-21 17:02:36 -04:00
Jarrett Cruger
05f0b891a6 [dist] Version bump. 1.3.0 v1.3.0 2014-08-14 17:28:00 -04:00
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
Eric Baer
e336b52629 Remove changelog - it was not maintained 2014-07-10 11:59:43 -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
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
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