summaryrefslogtreecommitdiff
path: root/lib/http.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-02-18 10:38:37 -0800
committerisaacs <i@izs.me>2013-02-18 10:38:37 -0800
commit09b1212254445d1848e369462d3f91fb1c3f3cf4 (patch)
tree3f0da1944a681bd90a46f051868bbee648a18785 /lib/http.js
parentd75e39794bb9e5663e9301087c06151f42071dfe (diff)
downloadnode-09b1212254445d1848e369462d3f91fb1c3f3cf4.tar.gz
http: Add fixme comment about ECONNRESET handling
Diffstat (limited to 'lib/http.js')
-rw-r--r--lib/http.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http.js b/lib/http.js
index 3b698c5c8..b6d68c635 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;