gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated (2ddfa029 -> 7af3ea32


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated (2ddfa029 -> 7af3ea32)
Date: Fri, 03 Nov 2017 12:51:46 +0100

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

karlson2k pushed a change to branch master
in repository libmicrohttpd.

    from 2ddfa029 Updated ChangeLog.
     new 5fa4f4e2 Fixed received of large data over HTTPS in epoll.
     new 7af3ea32 connection_https.c: fixed comment

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:
 src/microhttpd/connection_https.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/microhttpd/connection_https.c 
b/src/microhttpd/connection_https.c
index 87b74525..63623138 100644
--- a/src/microhttpd/connection_https.c
+++ b/src/microhttpd/connection_https.c
@@ -77,9 +77,9 @@ recv_tls_adapter (struct MHD_Connection *connection,
     }
 
 #ifdef EPOLL_SUPPORT
-  /* If data not available to fill whole buffer - socket is not read ready 
anymore. */
-  if (i > (size_t)res)
-    connection->epoll_state &= ~MHD_EPOLL_STATE_READ_READY;
+  /* Unlike non-TLS connections, do not reset "read-ready" if
+   * received amount smaller than provided amount, as TLS
+   * connections may receive data by fixed-size chunks. */
 #endif /* EPOLL_SUPPORT */
 
   /* Check whether TLS buffers still have some unread data. */
@@ -128,8 +128,8 @@ send_tls_adapter (struct MHD_Connection *connection,
     }
 #ifdef EPOLL_SUPPORT
   /* Unlike non-TLS connections, do not reset "write-ready" if
-   * sent smaller amount than provided, as TLS connections may
-   * break data into smaller parts for sending. */
+   * sent amount smaller than provided amount, as TLS
+   * connections may break data into smaller parts for sending. */
 #endif /* EPOLL_SUPPORT */
   return res;
 }

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



reply via email to

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