mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
bugfix: missing setting socket to non blocking
after block connecting
This commit is contained in:
@@ -282,6 +282,9 @@ open_socket(struct socket_server *ss, struct request_open * request, struct sock
|
|||||||
sock = -1;
|
sock = -1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (blocking) {
|
||||||
|
sp_nonblocking(sock);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user