Fabian Jakobs
d6ea3a425c
don't add upgrade handler if a custom handler is passed in
...
if a callback but no static proxy is defined and
no routes are provided then handlers.length is 1.
However the upgrade event is still automagically
attached in spite of having an explicit callback.
2011-11-16 16:40:51 -08:00
koichik
152d258ea0
[fix] Avoid Transfer-Encoding: chunked for HTTP/1.0 client, closes #59 .
2011-11-16 16:10:00 -08:00
Camilo Aguilar
c98ccb40e9
Fixes memory leak when clients abort connections
2011-11-15 20:20:47 -05:00
Dominic Tarr
c5dc9295c7
bump version 0.7.6
2011-11-15 07:43:43 +11:00
Dominic Tarr
f27d26f451
changeOrigin option: set the host header to the proxy destination
2011-11-15 07:41:09 +11:00
Dominic Tarr
b4d41c3628
bump version 0.7.5
2011-11-11 12:27:49 +11:00
Dominic Tarr
65b7872e6a
update outgoing.headers.host incase the destination does proxying
2011-11-11 12:27:21 +11:00
Dominic Tarr
f004788098
Merge branch 'master' of github.com:nodejitsu/node-http-proxy
2011-11-10 17:00:30 +11:00
bradleymeck
dd8319972c
[example] Response modification middleware
2011-11-09 23:56:16 -06:00
Dominic Tarr
c60c6a27f6
Merge branch 'master' of github.com:nodejitsu/node-http-proxy
2011-11-10 16:45:39 +11:00
Dominic Tarr
3dfba2ba45
bump version 0.7.4
2011-11-10 16:44:49 +11:00
Dominic Tarr
182dcd3455
always emit end in 0.4
2011-11-10 16:44:23 +11:00
Maciej Małecki
6e65c20017
[examples] Add some hand-crafted middleware
2011-11-08 17:05:33 +01:00
bradleymeck
7feee194f8
[fix] only set one drain listener while paused
2011-10-22 13:13:10 -05:00
Marak Squires
a72696533b
Merge pull request #134 from quackingduck/grammar-fix
...
[docs] grammar correction
2011-10-20 13:33:17 -07:00
Myles Byrne
729496d289
grammar correction
2011-10-20 15:25:59 -05:00
Max Ogden
91e9bb9070
adding tests for url segment proxytable routing
2011-10-15 14:22:36 -07:00
Max Ogden
4d50915373
change proxytable routing to route one level shallower
2011-10-14 15:42:39 -07:00
indexzero
f188f4ffd8
[test fix] Remove unnecessary console.log in tests/websocket/websocket-proxy-test.js
2011-10-04 01:54:27 +02:00
indexzero
db185bb303
[dist] Version bump. 0.7.3
v0.7.3
2011-10-04 01:51:17 +02:00
Florian Traverse
b7adf866b5
added what is necessary for having proxyError on Routing proxywq
2011-10-04 01:49:12 +02:00
indexzero
ccccc45f11
[dist] Version bump. 0.7.2
v0.7.2
2011-09-30 04:03:58 +02:00
Fedor Indutny
45ef87e71b
[websockets] add latest websockets support
2011-09-30 03:28:46 +02:00
Charlie Robbins
6c6fec094e
Merge pull request #118 from nodejitsu/gh-117
...
[fix] Examples have working require paths now.
2011-09-29 13:16:53 -07:00
Joshua Holbrook
2e8d4c6e49
[fix] Fixed require paths in examples
2011-09-29 13:14:15 -07:00
Charlie McConnell
5ad77395c0
[dist] Version bump v0.7.1, closes #107 #112
v0.7.1
2011-09-21 15:34:12 -07:00
Charlie McConnell
2b2c4abb2c
Merge pull request #114 from nodejitsu/readme-fixes
...
Readme fixes
2011-09-21 15:30:18 -07:00
Charlie McConnell
549360a462
[examples] More fixes to examples.
2011-09-21 14:53:57 -07:00
Charlie McConnell
8fc8d966c4
[examples] Updated examples to v0.7.x API.
2011-09-21 14:11:41 -07:00
Charlie McConnell
e5693d2b5b
Merge pull request #110 from nodejitsu/gh-107
...
#107 : Set x-forwarded-for header (amongst others)
2011-09-21 13:09:23 -07:00
Charlie McConnell
24ef919495
[docs] Updated examples in README.md for 0.7.x API.
2011-09-21 13:05:57 -07:00
Joshua Holbrook
1f33943b23
[fix] connection.socket -> socket for source of x-forwarded-for data
2011-09-20 14:34:03 -07:00
Joshua Holbrook
66e982060c
[test] Added a test for the "x-forwarded-for" header
2011-09-20 13:33:07 -07:00
Joshua Holbrook
2677bb6c44
[fix] x-forwarded http headers should set properly.
2011-09-20 13:00:59 -07:00
Charlie Robbins
787370ee87
Merge pull request #109 from jnordberg/master
...
command line tool - make sure targetPort is an integer
2011-09-18 18:49:39 -07:00
Johan Nordberg
5ba25aa345
Make sure the target port is an integer
...
This fixes a bug that caused cli to fail when --target was specified with both hostname and port
2011-09-17 14:37:47 +02:00
indexzero
bdf48bea36
[doc] Drop version number from README.md.
v0.7.0
2011-09-10 07:06:05 -04:00
indexzero
00e34a10bd
[dist] Version bump. 0.7.0
2011-09-10 07:05:31 -04:00
indexzero
f7010e5169
[merge] Merge from significant internal refactor in v0.7.x. No external API changes
2011-09-10 07:05:17 -04:00
indexzero
0182ba37cd
[dist] Version bump. 0.7.0
2011-09-10 07:01:32 -04:00
indexzero
0eb4917ded
[fix] Add x-forward-* headers for WebSocket requests. Closes #74
2011-09-10 06:57:51 -04:00
indexzero
d6c543691b
[doc] Document setMaxSockets. Fixes #81
2011-09-10 04:58:19 -04:00
indexzero
13eaec55dc
[doc] Updated examples
2011-09-10 04:04:31 -04:00
indexzero
2cd8256c4d
[minor] Small update to bin/node-http-proxy
2011-09-10 03:57:26 -04:00
indexzero
6c1c554451
[dist] Update .gitignore
2011-09-10 03:56:57 -04:00
indexzero
0ba5023e82
[doc] Update README.md
2011-09-10 03:56:18 -04:00
indexzero
6e1ade0bb8
[dist] Update scripts in package.json
2011-09-10 03:55:53 -04:00
indexzero
734769fa9b
[test] Updated tests to reflect finalized API of the RoutingProxy
2011-09-10 03:55:35 -04:00
indexzero
f765f90ec3
[api] Finalized the RoutingProxy API
2011-09-10 03:55:07 -04:00
indexzero
598fe2e38d
[api doc] Rebuilt httpProxy.createServer() with the newer high-level RoutingProxy API
2011-09-09 18:14:49 -04:00