From 09b1212254445d1848e369462d3f91fb1c3f3cf4 Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 18 Feb 2013 10:38:37 -0800 Subject: [PATCH] http: Add fixme comment about ECONNRESET handling --- lib/http.js | 2 ++ 1 file changed, 2 insertions(+) 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;