Browse Source

Don't destroy on timeout

v0.8.7-release
isaacs 13 years ago
parent
commit
8c758e127c
  1. 1
      lib/http.js

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) {

Loading…
Cancel
Save