Comparing version 3.5.5 to 3.5.6
@@ -0,1 +1,7 @@ | ||
### 3.5.6 | ||
* use proper timeout to fix keepAlive - **[@dbushong](https://github.com/dbushong)** [#83](https://github.com/groupon/gofer/pull/83) | ||
- [`7eb902f`](https://github.com/groupon/gofer/commit/7eb902f30fc739bc511f8dd2ec093f4b597dcdbd) **fix:** use proper timeout to fix keepAlive | ||
### 3.5.5 | ||
@@ -2,0 +8,0 @@ |
@@ -269,3 +269,3 @@ /* | ||
function onSocketTimeout() { | ||
function onSocketTimedOut() { | ||
socketTimer = setImmediate(function checkRealTimeout() { | ||
@@ -285,3 +285,2 @@ socketTimer = null; | ||
responseTimer = setIOTimeout(onResponseTimedOut, options.timeout); | ||
socket.setTimeout(options.timeout, onSocketTimeout); | ||
} | ||
@@ -296,2 +295,4 @@ | ||
req.setTimeout(options.timeout, onSocketTimedOut); | ||
req.once('response', handleResponse); | ||
@@ -298,0 +299,0 @@ req.on('error', failAndAbort); |
{ | ||
"name": "gofer", | ||
"version": "3.5.5", | ||
"version": "3.5.6", | ||
"description": "A general purpose service client library", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63480