Comparing version 0.3.2 to 0.3.3
@@ -92,2 +92,3 @@ var http = require('http'); | ||
} | ||
clearTimeout(abortTimeout); | ||
h.bufferResponse(res, cb); | ||
@@ -98,2 +99,3 @@ }); | ||
self._debug(1, 'WARNING', {error: e, bodySize: dLength}); | ||
clearTimeout(abortTimeout); | ||
return cb(self._makeError(1)); | ||
@@ -107,4 +109,4 @@ }); | ||
setTimeout(function(){ | ||
request.destroy(); | ||
var abortTimeout = setTimeout(function(){ | ||
request.abort(); | ||
}, this.opts.requestTimeout); | ||
@@ -111,0 +113,0 @@ }; |
{ | ||
"name": "gosquared", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "GoSquared for your Node.JS application", | ||
@@ -5,0 +5,0 @@ "main": "lib/GoSquared.js", |
23377
584