Call pthread_detach().

This commit is contained in:
default 2022-11-09 16:09:12 +01:00
parent 80780998bd
commit ec2d6bc4a4

View file

@ -319,6 +319,7 @@ void httpd(void)
pthread_t cth;
pthread_create(&cth, NULL, connection_thread, f);
pthread_detach(cth);
}
else
httpd_connection(f);