[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed processing of
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed processing of data in TLS buffers in epoll mode if more than 128 connections are ready |
Date: |
Mon, 09 Jan 2017 19:56:08 +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 87c72209 Fixed processing of data in TLS buffers in epoll mode if more
than 128 connections are ready
87c72209 is described below
commit 87c722090cd0d9af97d2db5ed7c4c4b5a30fb1f5
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Mon Jan 9 21:55:51 2017 +0300
Fixed processing of data in TLS buffers in epoll mode if more than 128
connections are ready
---
src/microhttpd/daemon.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index f62aad68..1fc158b5 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -3773,6 +3773,13 @@ MHD_epoll (struct MHD_Daemon *daemon,
else
timeout_ms = 0;
+#ifdef HTTPS_SUPPORT
+ /* Reset TLS read-ready.
+ * New value will be set by read handlers. */
+ if ( 0 != (daemon->options & MHD_USE_TLS) )
+ daemon->has_tls_recv_ready = false;
+#endif /* HTTPS_SUPPORT */
+
/* drain 'epoll' event queue; need to iterate as we get at most
MAX_EVENTS in one system call here; in practice this should
pretty much mean only one round, but better an extra loop here
@@ -3797,12 +3804,6 @@ MHD_epoll (struct MHD_Daemon *daemon,
#endif
return MHD_NO;
}
-#ifdef HTTPS_SUPPORT
- /* Reset TLS read-ready.
- * New value will be set by read handlers. */
- if ( 0 != (daemon->options & MHD_USE_TLS) )
- daemon->has_tls_recv_ready = 0;
-#endif /* HTTPS_SUPPORT */
for (i=0;i<(unsigned int) num_events;i++)
{
/* First, check for the values of `ptr` that would indicate
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed processing of data in TLS buffers in epoll mode if more than 128 connections are ready,
gnunet <=