gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 90/154: show not tell


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 90/154: show not tell
Date: Mon, 19 Aug 2019 10:16:42 +0200

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

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit 6a9e9a52f3c505b875391f7fcc7a29860344130a
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Jul 25 20:10:39 2019 +0200

    show not tell
---
 src/microhttpd/mhd_send.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 284def22..b90cac8b 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -408,8 +408,8 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
 #ifdef HTTPS_SUPPORT
   using_tls = (0 != (connection->daemon->options & MHD_USE_TLS));
 #endif
-
-  pre_cork_setsockopt (connection, want_cork);
+  if (! (have_more || using_tls))
+    pre_cork_setsockopt (connection, want_cork);
 
   /*
 #if TCP_CORK

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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