Nuno Job
bf04bbde8f
Merge pull request #302 from janl/patch-1
...
Fix installation instructions: s/http/https/
2012-08-27 08:48:41 -07:00
Jan Lehnardt
1db9542723
Fix installation instructions: s/http/https/
2012-08-27 18:37:59 +03:00
Tomaz Muraus
850171cdc4
If HTTP 1.1 is used and backend doesn't return 'Connection' header, explicitly
...
return Connection: keep-alive.
2012-08-16 21:47:56 -07:00
Maciej Małecki
4f6387c17f
[test] Add node v0.9 testing, test all branches
2012-08-10 21:46:58 +02:00
Maciej Małecki
cee27feedd
[minor doc] Correct comment
2012-08-10 21:45:30 +02:00
Maciej Małecki
812868ddfc
[minor] Remove setEncoding on incoming socket
...
This isn't needed as we don't do any string operations and `setEncoding`
results in a higher memory usage and is slower.
2012-08-10 21:43:55 +02:00
indexzero
1783ab0625
[fix] Dont use -i when running vows because it supresses --target= and --proxy= CLI arguments
2012-07-26 04:57:02 -04:00
indexzero
a454666e7a
[fix] Ignore npm version errors when installing dependencies for examples
2012-07-26 04:53:48 -04:00
indexzero
c4a7b15843
[fix] Suppress EADDRINUSE errors from test/examples-test.js since we are just looking for require-time errors. Isolate tests to ensure idempotency of ports
2012-07-26 04:47:25 -04:00
indexzero
fd648a5290
[fix test] Fix examples to use newest version of socket.io and helpers. Added tests for ensuring that examples require as expected with no errors.
2012-07-26 04:29:47 -04:00
Charlie Robbins
82da8535c5
Merge pull request #285 from 1stvamp/pass-change-origin-from-routing-proxy
...
If supplied pass changeOrigin option through to HttpProxy instance if set in RoutingProxy
2012-07-26 00:51:10 -07:00
Wesley Mason
89459bfd32
If supplied pass changeOrigin option through to HttpProxy instance if set in RoutingProxy
2012-07-25 14:17:48 +01:00
Bert Belder
24b84068ea
Fix socket leaks when FIN packet isn't responded to
2012-07-24 23:05:04 +02:00
Maciej Małecki
0d00b06af3
[fix] destroy() websockets in case of an error
...
Not doing so caused websockets in `CLOSE_WAIT` to pile up and cause
proxy to exceed open file descriptor limit.
2012-07-24 16:30:51 +02:00
indexzero
13c34d09b2
[dist] Version bump. 0.8.2
v0.8.2
2012-07-22 17:24:44 -04:00
indexzero
67539519fa
[doc] Minor formatting updates to README.md
2012-07-22 14:27:38 -04:00
Charlie McConnell
29e6e748f7
[test] Add .travis.yml file for Travis CI.
2012-07-22 00:39:57 -07:00
indexzero
2d75510d82
[dist] Remove out-dated docco docs
2012-07-22 03:14:42 -04:00
indexzero
36226daa2e
[dist] Complete JSHint compliance except for too many var statements
2012-07-22 03:14:01 -04:00
Charlie Robbins
46c184cb08
Merge pull request #221 from coderarity/gzip-middleware-proxytable-example
...
Add example for gzip middleware using a proxy table.
2012-07-21 23:55:30 -07:00
indexzero
4999b20b84
Merge branch '0.8.2'
2012-07-22 02:49:43 -04:00
Charlie Robbins
02b914d609
Merge pull request #246 from tellnes/proxy-remove
...
Implement RoutingProxy.prototype.remove
2012-07-21 23:33:07 -07:00
Charlie Robbins
f28c62c815
Merge pull request #235 from Filirom1/patch-1
...
prefer `target.hostname` over `target.host`
2012-07-21 23:31:35 -07:00
Christian Howe
0273958b0a
Use changeOrigin for proxyRequest.
2012-07-22 02:24:15 -04:00
Christian Howe
04ce49c5b2
Whitespace fixes.
2012-07-22 02:24:02 -04:00
Charlie Robbins
1cc1f90527
Merge pull request #275 from jfromaniello/patch-1
...
add "Using two certificiates" to the https section of the readme.md
2012-07-21 23:17:58 -07:00
Charlie Robbins
54f83717b2
Merge pull request #268 from shapeshed/patch-1
...
Add support for setting the host in the executable
2012-07-21 23:17:23 -07:00
indexzero
7e854d778b
[refactor tests] Finished refactoring tests to support ws*-to-ws* tests based on CLI arguments
2012-07-22 01:38:23 -04:00
indexzero
828dbebcaa
[refactor test] Add support for http*-to-http* testing from CLI arguments
2012-07-22 01:03:41 -04:00
indexzero
55286a7c49
[fix api] Optimize lookups in the ProxyTable. Ensure that RoutingProxy can proxy to https by default.
2012-07-22 01:02:51 -04:00
indexzero
e2dc7f9693
[refactor test] Finish removing old test code.
2012-07-21 20:46:30 -04:00
indexzero
4ae7a5b840
[refactor] Rewrite tests to use saner vows idioms. Update tests to use latest socket.io
2012-07-21 19:29:23 -04:00
José F. Romaniello
0b6c7f5f7e
add "Using two certificiates" to the https section of the readme.md
2012-07-03 16:26:20 -03:00
Maciej Małecki
fd16aeb4f8
Merge pull request #270 from node-migrator-bot/clean
...
Hi! I fixed some calls to "sys" for you!
2012-06-25 05:28:12 -07:00
Farrin Reid
bf7e328fb8
[fix] Changed require('util') to require('util') for compatibility with node v0.8
2012-06-24 22:18:02 -08:00
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