mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 02:27:38 -07:00
Improved RPC connection closure logic
This commit is contained in:
parent
236e474553
commit
b48ed824e6
4 changed files with 47 additions and 23 deletions
|
@ -663,7 +663,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue