Comparing version 2.2.3 to 2.2.4
@@ -715,5 +715,6 @@ ////////////////////////////////////////// | ||
// console.log(socket); | ||
if (!socket.on_socket_end) { | ||
socket.on_socket_end = on_socket_end; | ||
socket.on('end', socket.on_socket_end); | ||
socket.once('end', function() { process.nextTick(on_socket_end.bind(socket)) }); | ||
} | ||
@@ -720,0 +721,0 @@ }) |
{ | ||
"name": "needle", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"description": "The leanest and most handsome HTTP client in the Nodelands.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -27,3 +27,3 @@ var needle = require('../'), | ||
try { | ||
needle.post('http://google.com', { data: get_string(Math.pow(2, 20)) }, finished) | ||
needle.post('https://google.com', { data: get_string(Math.pow(2, 20)) }, finished) | ||
} catch(e) { | ||
@@ -30,0 +30,0 @@ error = e; |
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
198802
4707