Comparing version 2.2.0 to 2.2.1
@@ -700,5 +700,9 @@ ////////////////////////////////////////// | ||
request.once('socket', function(socket) { | ||
socket.once('connect', function() { | ||
if (socket.connecting) { | ||
socket.once('connect', function() { | ||
set_timeout('response', config.response_timeout); | ||
}) | ||
} else { | ||
set_timeout('response', config.response_timeout); | ||
}) | ||
} | ||
@@ -705,0 +709,0 @@ if (!socket.on_socket_end) { |
{ | ||
"name": "needle", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "The leanest and most handsome HTTP client in the Nodelands.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
197681
4693