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