1044 Commits

Author SHA1 Message Date
Romain
c4d185dca9 prefer target.hostname over target.host 2012-04-24 10:22:56 +03:00
Christian Howe
5d839dd5f8 Add tests for remapping URL properly. 2012-04-11 16:13:25 -04:00
Joshua Holbrook
ed06af97ef [doc] Fix style in websockets example 2012-04-03 00:36:52 -07:00
Joshua Holbrook
4d7eaff65b Merge pull request #225 from darashi/fix-readme
Fixes to make the websockets example work.
2012-04-03 00:34:10 -07:00
Yoji SHIDARA
4fc1ee85d3 [doc] call listen() to get the server started 2012-04-03 16:25:00 +09:00
Yoji SHIDARA
843901eeeb [doc] add missing {} to make an object 2012-04-03 16:23:00 +09:00
Christian Howe
b26b434e9f Fix RoutingProxy hanging when there is an error 2012-03-30 20:45:29 -04:00
Joshua Holbrook
11315e63fa Merge branch 'master' of https://github.com/thefosk/node-http-proxy into thefosk-master 2012-03-30 15:53:48 -07:00
Marco Palladino
4358a4c122 finally removed hidden char 2012-03-30 15:33:55 -07:00
Marak Squires
1a014f96dd Merge pull request #222 from thefosk/master
[minor] Syntax error
2012-03-30 15:25:15 -07:00
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