mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-19 13:36:54 +02:00
set O_NONBLOCK default in accept()
This commit is contained in:
parent
303579cb42
commit
1458dc8347
2 changed files with 1 additions and 1 deletions
|
@ -656,7 +656,7 @@ int accept(ACCEPT_SIG)
|
|||
}
|
||||
|
||||
//if(opt & O_NONBLOCK)
|
||||
//fcntl(sockfd, F_SETFL, O_NONBLOCK);
|
||||
fcntl(sockfd, F_SETFL, O_NONBLOCK);
|
||||
|
||||
char rbuf[16], c[1];
|
||||
int new_conn_socket;
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue