mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +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;
|
||||
continue;
|
||||
}
|
||||
if (blocking) {
|
||||
sp_nonblocking(sock);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user