Commit c1034058 authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Fix: do not close(-1) on Keep-Alive clients

parent 5e8b2478
......@@ -1604,6 +1604,7 @@ void connection_close(connection_t *con)
if (!con)
if (con->sock != -1) /* TODO: do not use magic */
if (con->ip)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment