diff --git a/lib/http.js b/lib/http.js index 3b698c5c808..b6d68c635b1 100644 --- a/lib/http.js +++ b/lib/http.js @@ -493,6 +493,8 @@ OutgoingMessage.prototype._writeRaw = function(data, encoding) { // The socket was destroyed. If we're still trying to write to it, // then something bad happened. // If we've already raised an error on this message, then just ignore. + // XXX This was necessary in v0.8, but in v0.10, we no longer ignore + // ECONNRESET anyway. Is this still required? if (!this._hadError) { this.emit('error', createHangUpError()); this._hadError = true;