1034 Commits

Author SHA1 Message Date
Wade Dorrell
f64954a08b I presume you mean couchdb here 2014-10-14 22:49:33 -06:00
no9
9f684d0439 harmon notes 2014-10-15 01:52:27 +01:00
Jarrett Cruger
3768cce4ca Merge pull request #712 from zhudan/master
update modify request body eg
2014-10-09 09:48:08 -04:00
dan
d46e876e27 update modify request body eg 2014-10-09 14:33:04 +08:00
dan
0378b03e53 update modify request body eg 2014-10-09 14:32:52 +08:00
dan
04c45a022c update modify request body eg 2014-10-09 14:30:11 +08:00
Jarrett Cruger
9577a0faf2 [dist] Version bump. 1.5.3 v1.5.3 2014-10-01 07:10:51 -04:00
Jarrett Cruger
fcdbf46e4d Merge pull request #709 from minrk/close-on-error
close socket if upstream request fails
2014-10-01 07:10:22 -04:00
MinRK
c62766391e close socket if upstream request fails
adds socket.end() to on('error') handlers for proxyReq and proxySocket
2014-09-30 19:58:57 -07:00
Jarrett Cruger
43c6f0c7c0 [dist] Version bump. 1.5.2 v1.5.2 2014-09-30 21:21:04 -04:00
Jarrett Cruger
b065d92908 Merge pull request #708 from minrk/close-closes
close websocket if proxyReq is closed before upgrade
2014-09-30 20:55:38 -04:00
MinRK
bcd8a564a8 close websocket if proxyReq is closed before upgrade
avoids leaving client sockets open when upstream
connections are rejected.
2014-09-30 17:01:20 -07:00
MinRK
77305489d9 test closing upstream socket prior to upgrade
should close the client socket with ECONNRESET,
but currently is left hanging.
2014-09-30 16:11:49 -07:00
Jarrett Cruger
f0bf741815 [dist] Version bump. 1.5.1 v1.5.1 2014-09-30 15:23:02 -04:00
Jarrett Cruger
10a294af4d [fix] do a check to make sure the server exists before we try and emit 2014-09-30 15:22:52 -04:00
Jarrett Cruger
232258b6ec [dist] Version bump. 1.5.0 v1.5.0 2014-09-29 22:38:47 -04:00
Jarrett Cruger
9210b56c9e Merge pull request #706 from thlorenz/expose-proxy-socket
exposing proxySocket on socket to support sniffing messages coming from proxy target
2014-09-29 22:34:06 -04:00
Thorsten Lorenz
000eb533de emitting proxySocket on proxyServer
- emitted once proxySocket was created and socket was piped into it
- needed to support sniffing messages coming from proxy target
2014-09-29 20:09:46 -04:00
Jarrett Cruger
2aa3b84d7b Merge pull request #705 from Jimbly/patch-1
Fixed misleading documentation
2014-09-26 00:01:36 -04:00
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