mirror of https://github.com/nodejs/node.git
parent
61100788ad
commit
8417870f51
|
@ -635,7 +635,11 @@ Socket.prototype._onReadable = function() {
|
|||
pool.length - pool.used);
|
||||
DTRACE_NET_SOCKET_READ(this, bytesRead);
|
||||
} catch (e) {
|
||||
self.destroy(e);
|
||||
if (e.code == 'ECONNRESET') {
|
||||
self.destroy();
|
||||
} else {
|
||||
self.destroy(e);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue