bugfix: missing setting socket to non blocking

after block connecting
This commit is contained in:
Kezhu Wang
2013-11-14 21:25:09 +08:00
parent 8c24cd2777
commit bd5f884c56

View File

@@ -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;
}