Comparing version 0.0.2 to 0.0.3
@@ -12,3 +12,3 @@ var Q = require('kew') | ||
http.get(options, function (res) { | ||
var req = http.get(options, function (res) { | ||
var data = '' | ||
@@ -23,2 +23,7 @@ res.on('data', function (chunk) { | ||
defer.reject(e) | ||
}).on('socket', function (socket) { | ||
socket.setTimeout(2000); | ||
socket.on('timeout', function() { | ||
req.abort(); | ||
}); | ||
}) | ||
@@ -25,0 +30,0 @@ |
{ | ||
"name": "aws-locate" | ||
, "description": "Locate the region and/or availability zone for a node process running on EC2" | ||
, "version": "0.0.2" | ||
, "version": "0.0.3" | ||
, "homepage": "https://github.com/azulus/aws-locate" | ||
@@ -6,0 +6,0 @@ , "authors": [ |
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
2242
45