Permalink
Browse files

[fix] Dont force `Connection: close` now that Keep-Alive is supported

  • Loading branch information...
indexzero committed May 21, 2011
1 parent 6fd272a commit a86d18bc7f93d013df715d1f4d88e651846f645d
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/node-http-proxy.js
View
@@ -412,10 +412,6 @@ HttpProxy.prototype.proxyRequest = function (req, res, options) {
path: req.url,
headers: req.headers
};
-
- // Force the `connection` header to be 'close' until
- // node.js core re-implements 'keep-alive'.
- outgoing.headers['connection'] = 'close';
protocol = _getProtocol(options.https || this.target.https, outgoing);

0 comments on commit a86d18b

Please sign in to comment.