mirror of https://github.com/nodejs/node.git
http: Add fixme comment about ECONNRESET handling
parent
d75e39794b
commit
09b1212254
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue