Skip to content

Commit

Permalink
[fix] Dont force Connection: close now that Keep-Alive is supported
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed May 21, 2011
1 parent 6fd272a commit a86d18b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/node-http-proxy.js
Expand Up @@ -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);

Expand Down

0 comments on commit a86d18b

Please sign in to comment.