commit f537729

grunfink  ·  2026-09-14 13:52:15 +0000 UTC
parents 572ca06, 0f1eecc
Merge pull request 'add fflush call in httpd_connection' (#654) from aleteoryx/snac2:aleteoryx-patch-fflush into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/654
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);