[npm] upgrade agentkeepalive from 2.2.0 to 3.4.1 (#642)
This commit is contained in:
@ -98,7 +98,7 @@
|
|||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"agentkeepalive": "^2.2.0",
|
"agentkeepalive": "^3.4.1",
|
||||||
"chalk": "^1.0.0",
|
"chalk": "^1.0.0",
|
||||||
"lodash": "2.4.2",
|
"lodash": "2.4.2",
|
||||||
"lodash.get": "^4.4.2",
|
"lodash.get": "^4.4.2",
|
||||||
|
|||||||
@ -94,7 +94,6 @@ HttpConnector.prototype.makeAgentConfig = function (config) {
|
|||||||
maxSockets: config.maxSockets,
|
maxSockets: config.maxSockets,
|
||||||
maxFreeSockets: config.keepAliveMaxFreeSockets,
|
maxFreeSockets: config.keepAliveMaxFreeSockets,
|
||||||
freeSocketKeepAliveTimeout: config.keepAliveFreeSocketTimeout,
|
freeSocketKeepAliveTimeout: config.keepAliveFreeSocketTimeout,
|
||||||
keepAliveTimeout: config.keepAliveFreeSocketTimeout // support agentkeepalive 2.x
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.useSsl) {
|
if (this.useSsl) {
|
||||||
|
|||||||
Reference in New Issue
Block a user