mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
fix eaddrinuse bug
This commit is contained in:
parent
3c52fd006e
commit
e81a89b116
@ -464,7 +464,7 @@ function listenip(self, ip, port, addressType) {
|
||||
|
||||
// assign handle in listen, and clean up if bind or listen fails
|
||||
self._handle = new TCP();
|
||||
self._handle.socket = this;
|
||||
self._handle.socket = self;
|
||||
self._handle.onconnection = onconnection;
|
||||
|
||||
if (ip && port) {
|
||||
|
Loading…
Reference in New Issue
Block a user