gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated (2da6d2d8 -> 0a88f8e4)


From: gnunet
Subject: [libmicrohttpd] branch master updated (2da6d2d8 -> 0a88f8e4)
Date: Mon, 28 Dec 2020 08:18:54 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a change to branch master
in repository libmicrohttpd.

    from 2da6d2d8 Fixed analyzer warning
     new f1ba9b43 mhd_send: do not emulate sendmsg() on blocking sockets
     new 0a88f8e4 ChangeLog updated

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ChangeLog                 | 20 ++++++++++++++++++++
 src/microhttpd/mhd_send.c |  3 ++-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 23fe789f..274eb08a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+Mon 28 Dec 2020 09:37:00 MSK
+    Completely reworked and rewritten TCP_CORK, TCP_NOPUSH, TCP_NODELAY and
+    MSG_MORE handling. Reduced number of sys-calls, fixed portability for
+    FreeBSD, OpenBSD, NetBSD, Darwin, W32.
+    Removed usage of gnutls_record_cork() as it fully blocks stream until
+    final block is ready.
+    Fixed compatibility with C90 compilers.
+    Really started using sendmsg() for header + body combined single-call
+    response sending.
+    Fixed sending of response body by sendmsg() when it shouldn't be sent,
+    like responses for HEAD requests.
+    Improved error handling for gnutls_record_send().
+    Updated W32 resources for .DLLs.
+    Fixed building with various disabled features (like messages, HTTPS,
+    http-upgrade, authorization etc.)
+    Fixed possible SIGPIPE generation when sendfile() is used (it was always
+    possible on Linux that sendfile() produce SIGPIPE, now it's fixed).
+    Several compiler warnings muted and/or fixed in the lib code and in
+    the examples. -EG
+
 Sun 01 Nov 2020 17:17:00 MSK
     Fixed conflict with system CPU_COUNT macro.
     Minor improvements of error reporting in MHD daemon.
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index a4c58516..3f3a1cdc 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -884,7 +884,8 @@ MHD_send_hdr_and_body_ (struct MHD_Connection *connection,
 
     if ( (header_size == (size_t) ret) &&
          ((size_t) SSIZE_MAX > header_size) &&
-         (0 != body_size) )
+         (0 != body_size) &&
+         (connection->sk_nonblck) )
     {
       ssize_t ret2;
       /* The header has been sent completely.

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]