[npm] upgrade agentkeepalive from 2.2.0 to 3.4.1 (#642)

This commit is contained in:
Spencer
2018-03-12 17:59:14 -07:00
committed by GitHub
parent de4a576495
commit faa5998739
2 changed files with 1 additions and 2 deletions

View File

@ -98,7 +98,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"agentkeepalive": "^2.2.0",
"agentkeepalive": "^3.4.1",
"chalk": "^1.0.0",
"lodash": "2.4.2",
"lodash.get": "^4.4.2",

View File

@ -94,7 +94,6 @@ HttpConnector.prototype.makeAgentConfig = function (config) {
maxSockets: config.maxSockets,
maxFreeSockets: config.keepAliveMaxFreeSockets,
freeSocketKeepAliveTimeout: config.keepAliveFreeSocketTimeout,
keepAliveTimeout: config.keepAliveFreeSocketTimeout // support agentkeepalive 2.x
};
if (this.useSsl) {