commit f537729
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
M
httpd.c
M
httpd.c
+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);