Bug fix triggered by HTTPS connections

This commit is contained in:
2025-12-15 22:23:07 +01:00
parent f3345ba670
commit e2d52f8b63
+2
View File
@@ -233,8 +233,10 @@ void chttp_server_process_events(CHTTP_Server *server,
if (events[i].type == SOCKET_EVENT_DISCONNECT) {
if (conn) {
chttp_server_conn_free(conn); // TODO: what if this was in the ready queue?
server->num_conns--;
}
} else if (events[i].type == SOCKET_EVENT_CREATION_TIMEOUT) {