isaacs
84be9f2c3a
Emit drain if it doesn't happen on its own in 100ms
2011-09-08 14:06:22 -07:00
isaacs
2b9e09b00a
Add flow control
...
Not in the "async/fibers/coro" sense of flow control, but in the TCP
backpressure sense.
Pause the stream when a write isn't flushed, and then resume it once the
writable stream drains.
2011-09-08 14:06:14 -07:00
indexzero
967884c5de
[dist] Version bump. 0.6.6
v0.6.6
2011-08-31 11:48:24 -04:00
isaacs
f4fcf93403
Memory leak hunting.
...
Detach listeners and clean up buffer on error
2011-08-31 11:47:44 -04:00
indexzero
7beead5465
[dist] Version bump. 0.6.5
v0.6.5
2011-08-28 21:14:56 -04:00
indexzero
f6dc12a971
[fix] Use req.connection for all x-forward-* headers
2011-08-28 21:14:42 -04:00
indexzero
216d46dc81
[dist] Version bump. 0.6.4
v0.6.4
2011-08-28 19:33:41 -04:00
isaacs
7bda25b1c6
Add guards to every throw-able res.end call
2011-08-28 15:52:35 -07:00
isaacs
62201a0917
Fix #95 Don't look on req.connection if it's not set.
2011-08-28 13:41:19 -07:00
indexzero
1389b706b5
[dist] Version bump. 0.6.3
v0.6.3
2011-08-28 01:50:44 -04:00
indexzero
5d6e6b9f78
[api] Expose adapted version of stack so it can be used with HttpProxy instances not created by httpProxy.createServer()
2011-08-28 01:49:41 -04:00
isaacs
be3a0d84a1
Handle cases where res.write throws
2011-08-28 01:49:37 -04:00
indexzero
5d0bbb38c3
[minor dist] Use pkginfo. Minor updates to variable scoping in .createServer()
2011-08-18 20:58:16 -04:00
Dominic Tarr
d8068a832d
[dist] bump version 0.6.2
2011-08-09 20:34:16 +10:00
Dominic Tarr
b8f84994b0
[fix] fix syntax errors. close issue #86
2011-08-09 20:32:10 +10:00
Charlie McConnell
2626308cd8
[fix] Removed bad example.
2011-08-02 22:42:19 -07:00
Dominic Tarr
fea371dc0a
[dist] bump version 0.6.1
2011-08-03 00:07:01 +10:00
Dominic Tarr
604ed2878d
Merge branch 'patch-1' of https://github.com/KimSchneider/node-http-proxy
...
closes #80
Conflicts:
lib/node-http-proxy.js
2011-08-03 00:06:08 +10:00
Dominic Tarr
e6ff8d6597
[api] merge middleware branch
2011-08-02 15:41:03 +10:00
Dominic Tarr
0f8fe8e246
[style] tidy
2011-08-02 15:33:03 +10:00
Dominic Tarr
5ba0f89aa3
merged
2011-08-02 15:31:10 +10:00
Dominic Tarr
20125889b3
[fix] do not use middleware code if it's not needed
2011-08-02 15:25:23 +10:00
Dominic Tarr
6ec8d6caac
[minor] add example to test concurrency
2011-08-02 14:55:49 +10:00
Dominic Tarr
5bf2d59241
[doc] add note on middleware to Using node-http-proxy section of the README
2011-08-02 14:55:49 +10:00
Dominic Tarr
2cf4e0a9e6
[api] refactor out middlewares from examples.
2011-08-02 14:55:49 +10:00
Dominic Tarr
020290a162
[docs] add middleware examples (first draft)
2011-08-02 14:55:49 +10:00
indexzero
f7452bc42d
[fix] Dont use res.* in proxyWebSocketRequest
2011-08-02 14:55:49 +10:00
indexzero
f0917a3f97
[minor] Style updates and whitespace cleaning for consistency
2011-08-02 14:55:49 +10:00
Charlie McConnell
8eaec35074
[minor] Added body decoder middleware example. Needs fixing.
2011-08-02 14:51:37 +10:00
Dominic Tarr
549bfeac23
[fix] broken RegExp
2011-08-02 14:51:37 +10:00
Charlie McConnell
4cc18f4217
Tested & fixed url middleware example, added comments.
2011-08-02 14:51:37 +10:00
Dominic Tarr
8b48b7e0af
[minor] code style changes
2011-08-02 14:51:37 +10:00
Dominic Tarr
caa1f494ab
[minor] minor fixes to gzip middleware example
2011-08-02 14:51:37 +10:00
Dominic Tarr
f6484de411
[doc] add comments to examples/url-middleware.js
2011-08-02 14:51:36 +10:00
Dominic Tarr
45f3df8093
[minor] add url-proxying middleware example
2011-08-02 14:51:36 +10:00
Dominic Tarr
b5d5eaabab
[doc] note in readme about middleware
2011-08-02 14:51:36 +10:00
Dominic Tarr
d3c06973a1
[minor] add example of using middleware to gzip response
2011-08-02 14:51:36 +10:00
Dominic Tarr
7976de1121
support old (port,host) and (options) style when using middlewares
2011-08-02 14:51:36 +10:00
Dominic Tarr
c773eedeb6
[minor] add middleware to node-http-proxy
2011-08-02 14:51:36 +10:00
KimSchneider
2caa5d2b0d
The number of maxSockets has to be set after the agent is created. Setting the property in the constructor does not work.
2011-08-01 13:22:30 +03:00
Dominic Tarr
b54666ff69
[minor] add middleware to node-http-proxy
2011-07-24 23:17:24 +10:00
Dominic Tarr
25c06a3a95
[fix] handler variable in createServer was global (!)
2011-07-23 05:40:29 -07:00
Dominic Tarr
03475a5944
[dist] bump version 6.0
2011-07-21 23:55:43 +10:00
Dominic Tarr
e3d95ecab2
[minor] default enableXForwarded to true
2011-07-21 23:53:25 +10:00
Dominic Tarr
5d33ad7118
[dist] bump version 5.12
2011-07-21 23:52:30 +10:00
Dominic Tarr
76aa982181
Merge pull request #73 from DanBUK/master
...
This adds a flag to ProxyRequest to disable the setting of x-forwarded-[for|port|proto]
(will change default to true in next commit)
2011-07-21 06:38:48 -07:00
Dominic Tarr
efa17ef6cf
[fix] use routing table mhen proxying WebSockets.
...
closes issue #72
2011-07-21 23:08:11 +10:00
DanBUK
ee3506a8e7
Updating to enableXForwarded
2011-07-19 09:57:21 +01:00
DanBUK
404818b1dc
Allow forwarding for x-forwarded-[for|port|proto] to enabled layering of http-proxies.
2011-07-18 12:07:54 +01:00
indexzero
baf0b9e25a
[dist] Version bump. 0.5.11
v0.5.11
2011-06-26 13:25:46 -04:00