aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r--src/microhttpd/mhd_send.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 8f34d8d4..2ea4dfa3 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -340,6 +340,9 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
340 ret = writev (s, vector, iovcnt); 340 ret = writev (s, vector, iovcnt);
341#endif 341#endif
342 342
343 if (ret == header_len + buffer_len)
344 want_cork = false;
345
343 post_cork_setsockopt (connection, want_cork); 346 post_cork_setsockopt (connection, want_cork);
344 347
345 return ret; 348 return ret;