Permalink
Browse files

Don't destroy on timeout

  • Loading branch information...
1 parent b4fbf6d commit 8c758e127c9d81791cb55043abb418ce624dfcaf @isaacs isaacs committed May 7, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/http.js
View
1 lib/http.js
@@ -1346,7 +1346,6 @@ ClientRequest.prototype.setTimeout = function(msecs, callback) {
var self = this;
function emitTimeout() {
self.emit('timeout');
- self.destroy(new Error('timeout'));
}
if (this.socket && this.socket.writable) {

0 comments on commit 8c758e1

Please sign in to comment.