[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 01/02: Fixed received of large data over HT
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 01/02: Fixed received of large data over HTTPS in epoll. |
Date: |
Fri, 03 Nov 2017 12:51:47 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 5fa4f4e2f0ee6ea7b831335c53edd39627fce07b
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Fri Nov 3 14:37:20 2017 +0300
Fixed received of large data over HTTPS in epoll.
---
src/microhttpd/connection_https.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/connection_https.c
b/src/microhttpd/connection_https.c
index 87b74525..9ddad117 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. */
--
To stop receiving notification emails like this one, please contact
address@hidden