commit 0f1eecc

Aleteoryx  ·  2026-09-13 20:30:38 +0000 UTC
parent 572ca06
add fflush in httpd
1 files changed,  +2, -0
+2, -0
1@@ -481,6 +481,8 @@ void httpd_connection(FILE *f)
2     else
3         req = xs_httpd_request(f, &payload, &p_size);
4 
5+    fflush(f);
6+
7     if (req == NULL) {
8         /* probably because a timeout */
9         fclose(f);