mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[debug] Roll back last commit ... connection = close was ineffective
This commit is contained in:
parent
7b0ea85e2a
commit
266e5246ea
2
vendor/pool/main.js
vendored
2
vendor/pool/main.js
vendored
@ -60,7 +60,7 @@ Pool.prototype.request = function () {
|
||||
if (args[2]) headers = args[2];
|
||||
|
||||
if (!headers) headers = {};
|
||||
if (!headers.Connection) headers.Connection = 'close';
|
||||
if (!headers.Connection) headers.Connection = 'keep-alive';
|
||||
|
||||
self.getClient(function (client) {
|
||||
var errorListener = function (error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user