commit 6a9e9a52f3c505b875391f7fcc7a29860344130a parent 78d30bd5827eeaffdfb5906a4afedb48868aceac Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 25 Jul 2019 20:10:39 +0200 show not tell Diffstat:
| M | 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 @@ -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