mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user