diff --git a/other/websocket.c b/other/websocket.c index cbd9cb8..845862c 100644 --- a/other/websocket.c +++ b/other/websocket.c @@ -861,6 +861,7 @@ void start_server() { break; // Child process exits } else { // parent process settings.handler_id += 1; + close(csock); } } if (pid == 0) {