Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Don't destroy on timeout

  • Loading branch information...
isaacs committed May 7, 2012
1 parent b4fbf6d commit 8c758e127c9d81791cb55043abb418ce624dfcaf
Showing with 0 additions and 1 deletion.
  1. +0 −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.
You can’t perform that action at this time.