mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[debug] Trying to repair pool busy client growth
This commit is contained in:
parent
32aaf74e95
commit
7b0ea85e2a
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 = 'keep-alive';
|
||||
if (!headers.Connection) headers.Connection = 'close';
|
||||
|
||||
self.getClient(function (client) {
|
||||
var errorListener = function (error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user