diff --git a/httpd.c b/httpd.c index 726cb37..85d4b71 100644 --- a/httpd.c +++ b/httpd.c @@ -319,6 +319,7 @@ void httpd(void) pthread_t cth; pthread_create(&cth, NULL, connection_thread, f); + pthread_detach(cth); } else httpd_connection(f);