mirror of https://github.com/nodejs/node.git
net_uv: fix 'set is undefined' error
parent
f810998871
commit
b5db0767d5
|
@ -702,7 +702,7 @@ function onconnection(clientHandle) {
|
|||
if (!peername.address || !peername.port) {
|
||||
var err = errnoException(errno, 'accept');
|
||||
clientHandle.close();
|
||||
set.emit('error', err);
|
||||
self.emit('error', err);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue