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

This commit is contained in:
indexzero 2011-05-21 10:41:51 -04:00
parent 6fd272ac18
commit a86d18bc7f

View File

@ -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);