mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 05:43:59 -07:00
Check for fork/clone and re-initialize in close() -- for nginx
This commit is contained in:
parent
a6cffefa6d
commit
f2289544b7
4 changed files with 2048 additions and 0 deletions
|
@ -927,6 +927,7 @@ int poll(POLL_SIG)
|
|||
// int fd
|
||||
int close(CLOSE_SIG)
|
||||
{
|
||||
checkpid();
|
||||
dwr(MSG_DEBUG,"close(%d)\n", fd);
|
||||
if(fd == fdret_sock)
|
||||
return 0; // FIXME: Ignore request to shut down our rpc fd, this is *almost always* safe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue