summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httpd.c1
1 files changed, 1 insertions, 0 deletions
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);