gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 04/04: resume_suspended_connections(): upda


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 04/04: resume_suspended_connections(): update states of connection after resuming
Date: Thu, 11 May 2017 21:39:46 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 16da279752e54c616edcb485ea637234101447c9
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu May 11 22:36:44 2017 +0300

    resume_suspended_connections(): update states of connection after resuming
---
 ChangeLog               | 3 +++
 src/microhttpd/daemon.c | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 4e87285a..b9698655 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+Thu May 11 22:37:00 MSK 2017
+       Faster start really processing data in resumed connections. -EG
+
 Thu May 11 14:24:00 MSK 2017
        Do not add any "Connection" headers for "upgrade" connections. -EG
 
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 2a88ea83..de36296f 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2901,6 +2901,9 @@ resume_suspended_connections (struct MHD_Daemon *daemon)
               pos->epoll_state &= ~MHD_EPOLL_STATE_SUSPENDED;
             }
 #endif
+          /* Process response queued during suspend and update states. */
+          if (!used_thr_p_c)
+            MHD_connection_handle_idle (pos);
         }
 #ifdef UPGRADE_SUPPORT
       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]