Skip to content

Commit a86d18b

Browse files
committed
[fix] Dont force Connection: close now that Keep-Alive is supported
1 parent 6fd272a commit a86d18b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/node-http-proxy.js

-4
Original file line numberDiff line numberDiff line change
@@ -412,10 +412,6 @@ HttpProxy.prototype.proxyRequest = function (req, res, options) {
412412
path: req.url,
413413
headers: req.headers
414414
};
415-
416-
// Force the `connection` header to be 'close' until
417-
// node.js core re-implements 'keep-alive'.
418-
outgoing.headers['connection'] = 'close';
419415

420416
protocol = _getProtocol(options.https || this.target.https, outgoing);
421417

0 commit comments

Comments
 (0)