Merge branch 'filedescriptor-fix' of https://github.com/pesintta/websockify
This commit is contained in:
commit
193c7e6181
|
@ -891,6 +891,7 @@ void start_server() {
|
||||||
break; // Child process exits
|
break; // Child process exits
|
||||||
} else { // parent process
|
} else { // parent process
|
||||||
settings.handler_id += 1;
|
settings.handler_id += 1;
|
||||||
|
close(csock);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (pid == 0) {
|
if (pid == 0) {
|
||||||
|
|
Loading…
Reference in New Issue