gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 01/02: Fixed reset timeout on connection re


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 01/02: Fixed reset timeout on connection resume in thread-per-connection mode.
Date: Fri, 10 Mar 2017 18:12:57 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit defb4e4d7bb7fcdab4db921864019dcd38a2cf1a
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Fri Mar 10 20:04:43 2017 +0300

    Fixed reset timeout on connection resume in thread-per-connection mode.
---
 src/microhttpd/daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index f25ccd4d..895f14f6 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1655,12 +1655,12 @@ thread_main_handle_connection (void *data)
 #else  /* ! HAVE_POLL */
   const int use_poll = MHD_NO;
 #endif /* ! HAVE_POLL */
+  bool was_suspended = false;
 
   while ( (! daemon->shutdown) &&
          (MHD_CONNECTION_CLOSED != con->state) )
     {
       const unsigned int timeout = daemon->connection_timeout;
-      bool was_suspended = false;
 #ifdef UPGRADE_SUPPORT
       struct MHD_UpgradeResponseHandle * const urh = con->urh;
 #else  /* ! UPGRADE_SUPPORT */

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



reply via email to

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