mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
Merge pull request #55 from kezhuw/fixes
bugfix: missing setting socket to non blocking
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