Merge branch 'filedescriptor-fix' of https://github.com/pesintta/websockify

This commit is contained in:
Pierre Ossman 2018-03-05 16:23:44 +01:00
commit 193c7e6181
1 changed files with 1 additions and 0 deletions

View File

@ -891,6 +891,7 @@ void start_server() {
break; // Child process exits
} else { // parent process
settings.handler_id += 1;
close(csock);
}
}
if (pid == 0) {