diff --git a/src/lib/connectors/http.js b/src/lib/connectors/http.js index 4368f1b2d..b5e8e5113 100644 --- a/src/lib/connectors/http.js +++ b/src/lib/connectors/http.js @@ -93,7 +93,8 @@ HttpConnector.prototype.makeAgentConfig = function (config) { keepAliveMsecs: config.keepAliveInterval, maxSockets: config.maxSockets, maxFreeSockets: config.keepAliveMaxFreeSockets, - freeSocketKeepAliveTimeout: config.keepAliveFreeSocketTimeout + freeSocketKeepAliveTimeout: config.keepAliveFreeSocketTimeout, + keepAliveTimeout: config.keepAliveFreeSocketTimeout // support agentkeepalive 2.x }; if (this.useSsl) {