commit 6f3a998f22c15891dfe5d33a8c1b138090aa6968
parent 4cd47bcc3c1ea57bb37b7dc400d8f9f98d499c2a
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 15 Dec 2019 14:12:44 +0100
fix #5977
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,6 @@
+Sun 15 Dec 2019 02:12:02 PM CET
+ Fix send() call (affects Mac OS X). #5977 -CG/fbrault
+
Fri 29 Nov 2019 11:22:25 PM CET
If application suspends a connection before we could send 100 CONTINUE,
give application another shot at queuing a reply before the upload begins. -CG
diff --git a/src/microhttpd/mhd_sockets.c b/src/microhttpd/mhd_sockets.c
@@ -528,6 +528,7 @@ MHD_socket_cork_ (MHD_socket sock,
TCP_CORK always flushes socket buffer. */
if (0 > send (sock,
&dummy,
+ 0,
0))
return 0; /* even force flush failed!? */
return 1; /* success */