914 Commits

Author SHA1 Message Date
Jimb Esser
a4ca578b44 Fixed misleading documentation
options.xfwd definitely works fine without using the .listen method, and, AFAICT, .toProxy should as well.  Only .ssl and .ws are referenced in .listen.
2014-09-25 20:54:46 -07:00
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
Jarrett Cruger
90d40d6a6a Merge pull request #702 from shebson/fix-readme-typo
Fix typo in README.md
2014-09-16 18:21:35 -04:00
Stephen Hebson
45cf95a82e Fix typo in README.md
"Is it then possible" -> "It is then possible"
2014-09-16 14:55:12 -07:00
Jarrett Cruger
42c35aedca Merge pull request #691 from minrk/firefox-ws-connection-close
handle 'upgrade' in comma-separated connection header
2014-09-16 15:42:41 -04:00
MinRK
ec683b924b test new detection of connection: upgrade 2014-09-16 12:09:26 -07: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
cronopio
554f59c518 Bump version v1.4.3 v1.4.3 2014-09-12 12:31:28 -05:00
Arnout Kazemier
73e8a4cdd5 [minor] Added missing JSDoc comments 2014-09-12 19:21:12 +02:00
Arnout Kazemier
3ab6e9591e [minor] Code style adjustment. 2014-09-12 19:13:53 +02:00
Arnout Kazemier
a934cb6a46 [ignore] Ignore npm-debug.log 2014-09-12 19:11:49 +02:00
Arnout Kazemier
107b9da256 Merge pull request #699 from STRML/master
Urgent: Fix breaking bug on url joining resulting in paths like `///path`.
2014-09-12 19:10:30 +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
df12aeb12d [dist] Version bump. 1.4.2 v1.4.2 2014-09-12 07:50:36 -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
d5c656bceb [dist] Version bump. 1.4.1 v1.4.1 2014-09-11 18:52:13 -04:00
Jarrett Cruger
dceef407a1 [dist] Version bump. 1.4.0 2014-09-11 18:51:49 -04:00
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