Commit a86d18bc authored by indexzero's avatar indexzero

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

parent 6fd272ac
......@@ -413,10 +413,6 @@ HttpProxy.prototype.proxyRequest = function (req, res, options) {
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);
// Open new HTTP request to internal resource with will act as a reverse proxy pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment