Browse Source

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
grunfink 4 ngày trước cách đây
mục cha
commit
f53772914d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      httpd.c

+ 2 - 0
httpd.c

@@ -481,6 +481,8 @@ void httpd_connection(FILE *f)
     else
         req = xs_httpd_request(f, &payload, &p_size);
 
+    fflush(f);
+
     if (req == NULL) {
         /* probably because a timeout */
         fclose(f);