gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 04/05: MHD_poll_listen_socket(): handle res


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 04/05: MHD_poll_listen_socket(): handle resumed connections and closed "upgraded" connections
Date: Sun, 14 May 2017 14:11:22 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 5c71e7550e31cacebc64f1669c28d7f8940e9701
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun May 14 14:46:27 2017 +0300

    MHD_poll_listen_socket(): handle resumed connections and closed "upgraded" 
connections
---
 ChangeLog               | 8 ++++++++
 src/microhttpd/daemon.c | 4 ++++
 2 files changed, 12 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index b9698655..2bc7bf0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Sun May 14 14:49:00 MSK 2017
+       Removed extra call to resume connections in MHD_run().
+       Handle resumed connection without delay in epoll mode.
+       Update states of resumed connection after resume in 
thread-per-connection
+       mode.
+       Fixed resuming connections and closing upgraded connections in poll()
+       mode with thread-per-connection. -EG
+
 Thu May 11 22:37:00 MSK 2017
        Faster start really processing data in resumed connections. -EG
 
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 540dc7ea..c26d461e 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -3897,6 +3897,10 @@ MHD_poll_listen_socket (struct MHD_Daemon *daemon,
       poll_itc_idx = poll_count;
       poll_count++;
     }
+
+  if (0 != (daemon->options & MHD_TEST_ALLOW_SUSPEND_RESUME))
+    (void)resume_suspended_connections (daemon);
+
   if (MHD_NO == may_block)
     timeout = 0;
   else

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



reply via email to

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