1034 Commits

Author SHA1 Message Date
Marco Palladino
5842d0ee7d syntax error fixed 2012-03-30 15:16:34 -07:00
Christian Howe
62013281b8 Added example for gzip middleware using a ProxyTable. 2012-03-30 15:38:51 -04:00
Christian Howe
f1611ec8dc Fix problem with req.url not being not properly replaced. 2012-03-29 13:05:49 -04:00
Marak Squires
fd7fcd8dec [examples] Added simple load balancer example 2012-03-28 22:40:50 -07:00
Marak Squires
f20b3740b1 Merge branch 'master' of github.com:nodejitsu/node-http-proxy 2012-03-28 22:36:23 -07:00
Christian Howe
4f2bc58431 Add documentation for listening for proxy events to prevent a common mistake. 2012-03-28 00:10:37 -03:00
Christian Howe
99ee54259e Re-emit 'start', 'forward' and 'end' events in RoutingProxy. 2012-03-27 21:38:35 -04:00
Christian Howe
e9fd3f43d7 Whitespace fixes 2012-03-27 21:36:36 -04:00
Marak Squires
a088efdb04 Merge pull request #208 from larsburgess/patch-1
[docs] Making README links consistent with latest project structure.
2012-03-13 17:29:20 -07:00
Lars Burgess
7fa6599f4f Making README links consistent with latest project structure. 2012-03-13 17:10:14 -07:00
Marak Squires
b979cb32a1 Merge pull request #205 from drewp/master
[docs] improved grammar
2012-03-01 20:37:43 -08:00
Drew Perttula
e15db4fb50 fix the broken english and clarified the sentence (I hope) 2012-03-01 20:35:56 -08:00
Charlie Robbins
91bb2a9106 Merge pull request #189 from drewp/master
proposed doc addition for #180
2012-02-11 18:41:03 -08:00
Drew Perttula
73e415a226 Address ticket #180 here since that problem is so hard to discover when you run into it. If there was an error, people would search for the error text, but there isn't. 2012-02-06 17:15:44 -08:00
MetaHack
868f7e7a28 fixed comment typos in examples/http/proxy-https-to-http.js and proxy-https-to-https.js, lines 37 and 46 2012-01-09 19:10:33 +08:00
indexzero
5055689a11 [dist] Version bump. 0.8.0 v0.8.0 2011-12-23 01:42:26 -05:00
indexzero
c81bae2fdd [fix minor] Correctly set x-forwarded-proto in WebSocket requests 2011-12-23 01:40:35 -05:00
indexzero
6f8ad3b8c3 Merge branch '0.6-compatibility' 2011-12-23 01:34:02 -05:00
indexzero
3828616816 [refactor] Listen for socket events since reverseProxy.socket is no longer set synchronously 2011-12-23 01:33:24 -05:00
indexzero
ea7fea6272 [refactor minor] Update vendor/websocket.js to be compatible with node@0.6.x 2011-12-23 01:32:49 -05:00
Maciej Małecki
8358ef8a2b [test dist] Run core tests on npm test 2011-12-18 22:54:08 +01:00
Maciej Małecki
c4124da4f2 [minor] Fix indent on timeout notice 2011-12-18 22:49:20 +01:00
Maciej Małecki
bc98c0dbce [test] Add core test-http-upgrade-server2 test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:20 +01:00
Maciej Małecki
feb324b0d4 [test] Add core test-http-proxy test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:20 +01:00
Maciej Małecki
275109b2f8 [test] Add core test-http-contentLength0 test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:19 +01:00
Maciej Małecki
c26ab5e46f [test] Add core test-http-extra-response test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:19 +01:00
Maciej Małecki
d7f15d02f7 [test] Add core test-http-server-multiheaders test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:19 +01:00
Maciej Małecki
35d2088c96 [test] Add core test-http-multi-line-headers test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:19 +01:00
Maciej Małecki
48d4a8b263 [minor] Allow user to set colors.mode 2011-12-18 22:49:19 +01:00
Maciej Małecki
5c3d41bf4e [minor] Nicer output from test runner 2011-12-18 22:49:19 +01:00
Maciej Małecki
38bd906f2b [minor] Everybody loves Unicode
Tick and X marks in test runner output.
2011-12-18 22:49:19 +01:00
Maciej Małecki
b76680b045 [minor] Change test runner output order 2011-12-18 22:49:19 +01:00
Maciej Małecki
68cebbe0e7 [test] Run tests in test/core/simple by default 2011-12-18 22:49:19 +01:00
Maciej Małecki
e109eba972 [minor] When running tests output only basename 2011-12-18 22:49:19 +01:00
Maciej Małecki
219b0ff8f8 [dist] Test runner depends on async 2011-12-18 22:49:19 +01:00
Maciej Małecki
a4079c6a1c [test] Implement basic runner for multiple tests
Features:

  * timeout
  * running tests in separate processes
  * printing basic summary
2011-12-18 22:49:19 +01:00
Maciej Małecki
2ccc5c73ea [test minor] Update copyright notice on test runner 2011-12-18 22:49:19 +01:00
Maciej Małecki
004be38048 [test refactor] test/core/{run => run-single} 2011-12-18 22:49:19 +01:00
Maciej Małecki
4e1ca6e618 [test] Add core test-http-many-keep-alive-connections test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
  * `process.exit` instead of `server.close` (process wouldn't exit
    otherwise, I'm not sure why)
2011-12-18 22:49:19 +01:00
Maciej Małecki
13389db1be [test] Add core test-http-head-response-has-no-body-end test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:19 +01:00
Maciej Małecki
f79f3adf02 [test] Add core test-http-head-response-has-no-body test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:19 +01:00
Maciej Małecki
f298411f76 [test] Add core test-http-host-headers test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
  * remove https part
  * change assertion to match `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:19 +01:00
Maciej Małecki
5ac987857c [test] Add core test-http-client-upload-buf test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:18 +01:00
Maciej Małecki
f1c0be3f0b [test] Add core test-http-response-close test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:18 +01:00
Maciej Małecki
7bf8d4a7be [test] Add core test-http-client-abort test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`

As off a95cf9bd63, this test doesn't hang.
2011-12-18 22:49:18 +01:00
Maciej Małecki
4d43d81e5c [fix] When client request is aborted, abort server request 2011-12-18 22:49:18 +01:00
Maciej Małecki
80c216df0c [test] Add core test-http-eof-on-connect test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:18 +01:00
Maciej Małecki
a6353897cd [test] Add core test-http-malformed-request test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:18 +01:00
Maciej Małecki
7648fe50c1 [test] Add core test-http-client-upload test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:18 +01:00
Maciej Małecki
25a9e2d217 [test] Add core test-http test
Modifications:

  * make client connect to `PROXY_PORT` instead of `PORT`
2011-12-18 22:49:18 +01:00