glortho
64fa520789
Add tests for testing forwarding of continuation frames
...
This adds two tests that send payloads below and at the threshold for continuation frames. Using node 0.12.7 both tests pass. Using node 4.1.2 the test below the threshold passes but the other fails.
2015-10-28 15:52:37 -04:00
Laurent Brucher
9752652e76
fixes after PR review
2015-10-22 18:38:58 +02:00
Laurent Brucher
a05fc2d169
Provide a "proxyReq" event also for websocket connections.
2015-10-22 15:56:34 +02:00
Arttu Liimola
ca73208749
Websocket key was unnecessary long.
2015-08-30 17:16:36 -04:00
Arttu Liimola
855cebdac4
Added websocket set-cookie headers test
2015-08-30 17:16:00 -04:00
Jorge Leal
8a8a894092
Changed proxyServer and destiny to local variables.
2014-12-17 00:52:41 -07:00
Jorge Leal
c62610e8e4
Deprecated proxySocket event in favor to open event.
...
Maintained both proxySocket and open for backward compatibility.
Conflicts:
test/lib-http-proxy-test.js
2014-12-17 00:52:19 -07:00
Jorge Leal
8bff3ddc12
Added websocket close event test
2014-12-17 00:51:19 -07:00
Eugene Zhdan
c1a94176a8
Fix variables scope in test
2014-12-13 21:45:14 +03: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
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
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
Damian Kaczmarek
4193d3bd74
Fix #657
2014-06-10 01:50:59 +02: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
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
cronopio
a2b1f0a4c9
[tests] disable test, by now is not throwing without options
2013-11-07 15:06:45 -05:00
cronopio
920f1e7707
[tests] this test is already in web-incoming tests
2013-10-22 16:09:11 -05:00
cronopio
c75d06c5f9
[tests] now each test use a different port to avoid some slow opening and closing ports
2013-10-22 15:57:52 -05:00
cronopio
d60353f80b
[tests] tests fixed
2013-10-21 23:22:59 -05:00
cronopio
5d66ce11bb
[fix] minor typo
2013-10-21 14:51:45 -05:00
cronopio
5e130de854
Revert "[fix] fixed passes functions, now 'this' can be used and options are stored on 'this.options'"
...
This reverts commit 9b3e1eb247df29d18ea299ff4ebb2f10eeb71269.
2013-10-21 14:49:39 -05:00
cronopio
9b3e1eb247
[fix] fixed passes functions, now 'this' can be used and options are stored on 'this.options'
2013-10-21 03:46:30 -05:00
cronopio
1d1ee88582
[tests] the options got a problem and this test probe that timeout is not being set
2013-10-21 03:25:47 -05:00
cronopio
c65ffbb976
[tests] fixed inherits problem and listen for the correct event
2013-10-09 12:40:05 -05:00
cronopio
a7042132c8
[tests] fixing tests, fixed some typos and changed how passes are stored
2013-10-09 12:00:42 -05:00
cronopio
c9f5772fc1
[tests] remove caronte and use http-proxy for file names
2013-10-09 10:49:13 -05:00