From faa59987390ae65d1df358a5f81d192a2e1d4a51 Mon Sep 17 00:00:00 2001 From: Spencer Date: Mon, 12 Mar 2018 17:59:14 -0700 Subject: [PATCH] [npm] upgrade agentkeepalive from 2.2.0 to 3.4.1 (#642) --- package.json | 2 +- src/lib/connectors/http.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 056ed4b5d..d0bdb7935 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/lib/connectors/http.js b/src/lib/connectors/http.js index b5e8e5113..25b7f30c2 100644 --- a/src/lib/connectors/http.js +++ b/src/lib/connectors/http.js @@ -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) {