gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: connection_https: clarify comment


From: gnunet
Subject: [libmicrohttpd] branch master updated: connection_https: clarify comment as suggested by CG
Date: Tue, 29 Dec 2020 15:09:19 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new df6124f7 connection_https: clarify comment as suggested by CG
df6124f7 is described below

commit df6124f7a892830649823e41d7f27147f8817066
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Dec 29 17:08:29 2020 +0300

    connection_https: clarify comment as suggested by CG
---
 src/microhttpd/connection_https.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/microhttpd/connection_https.c 
b/src/microhttpd/connection_https.c
index 6b50d3b4..ff1812c4 100644
--- a/src/microhttpd/connection_https.c
+++ b/src/microhttpd/connection_https.c
@@ -108,12 +108,13 @@ MHD_run_tls_handshake_ (struct MHD_Connection *connection)
   if ((MHD_TLS_CONN_INIT == connection->tls_state) ||
       (MHD_TLS_CONN_HANDSHAKING == connection->tls_state))
   {
-    /* GnuTLS uses sendmsg() (when available) to combine outgoing message
-     * into the single packet therefore there is no need to wait for
+    /* GnuTLS uses sendmsg() (when available) to send outgoing message
+     * by single system call therefore there is no need to wait for
      * additional data after sendmsg(). TLS handshake requires several packets
-     * exchange so set TCP_NODELAY here to avoid delay after each outgoing
-     * packet. As drawback it results in less more packet fragmentation
-     * on platforms without sendmsg() support, but luckily such platforms
+     * exchange so set TCP_NODELAY here to avoid delay before each outgoing
+     * packet is pushed to the network from kernel network buffers.
+     * As a drawback, this may result in a larger number of IP packet being
+     * send on platforms without sendmsg() support, but luckily such platforms
      * are now rare and they don't provide best performance anyway. */
     if (_MHD_ON != connection->sk_nodelay)
       MHD_connection_set_nodelay_state_ (connection, true);

-- 
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]