George Ornbo
415d4ed908
match style requested by @cronopio
2012-06-20 20:59:17 +01:00
George Ornbo
06e78f2747
adding support for setting the host
2012-06-20 15:51:31 +01:00
Joshua Holbrook
ccd8f840b2
Merge pull request #266 from rampr/master
...
Fix bug: x-forwarded-proto set incorrectly as httphttps or wswss
2012-06-18 23:42:50 -07:00
Ramprasad Rajendran
0933f1c598
Fix bug: x-forwarded-proto set incorrectly
...
When routed via multiple proxies, x_forwarded_proto set as httphttps or
wswss instead of http,https or ws,wss, since + operator seems to have a
higher precedence than the terniary operator and the expression was
getting evaluated to true always
2012-06-19 12:00:24 +05:30
cronopio
81f6095cf0
[dist] Version bump 0.8.1
v0.8.1
2012-06-05 17:09:17 -05:00
cronopio
45d67f42cb
[tests] used socket.io 0.6.17 fixed version for tests
2012-06-05 17:06:03 -05:00
Charlie Robbins
27fa708449
Merge pull request #256 from nodejitsu/changelog
...
[misc] Updating the changelog. Close #137
2012-06-05 14:19:52 -07:00
cronopio
e9a3a3012c
[misc] changelog updated to version 0.8.1
2012-06-05 15:37:55 -05:00
Christian Howe
64c974755d
Merge pull request #218 from CodeRarity/proxy-table-fix
...
Fix problem with req.url not being not properly replaced.
2012-06-05 13:04:18 -07:00
cronopio
df650d11dd
[minor fix] delete white space
2012-05-31 15:26:28 -05:00
cronopio
b5847733cd
[misc] Updating the changelog. Close #137
2012-05-31 15:19:45 -05:00
Ryan Stevens
ca37ad7436
[fix] x-forwarded-proto sets properly
...
The ternary was evaluating truthy for "," + req.connection.pair which is always true because its always a non empty string. Wrapped actual condition to properly concatenate the product of the ternary. let me know if you prefer the style (req.connection.pair ? 'https' : 'http')
https://github.com/nodejitsu/node-http-proxy/issues/250
2012-05-22 12:54:47 -07:00
Christian Tellnes
0532995dfa
Implement RoutingProxy.prototype.remove
2012-05-17 05:44:56 +02:00
Christian Howe
f223ce8b4e
Merge pull request #216 from CodeRarity/master
...
Re-emit 'start', 'forward' and 'end' events in RoutingProxy, and fix some hanging issues.
2012-05-10 09:34:46 -07:00
Christian Howe
27316e22e8
[dist] Update author field for consistency
2012-05-07 16:59:05 +00:00
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