gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] GNU libmicrohttpd branch master updated. 03


From: gitolite
Subject: [GNUnet-SVN] [libmicrohttpd] GNU libmicrohttpd branch master updated. 0310cef0141d5deb3917a7c322833cfd46b18bb7
Date: Mon, 14 Nov 2016 12:56:28 +0100 (CET)

The branch, master has been updated
       via  0310cef0141d5deb3917a7c322833cfd46b18bb7 (commit)
      from  f30211ed82564bc383b292aea69f090cab35cb16 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0310cef0141d5deb3917a7c322833cfd46b18bb7
Author: Evgeny Grin (Karlson2k) <address@hidden>
Date:   Mon Nov 14 14:53:00 2016 +0300

    Fixed connection's closure reason in thread-per-connection mode.

-----------------------------------------------------------------------

Summary of changes:
 src/microhttpd/daemon.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index caa72ee..b964331 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1744,7 +1744,9 @@ thread_main_handle_connection (void *data)
 #endif
       if (MHD_CONNECTION_CLOSED != con->state)
        MHD_connection_close_ (con,
-                               MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN);
+                               (MHD_NO == daemon->shutdown) ?
+                                 MHD_REQUEST_TERMINATED_WITH_ERROR :
+                                 MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN);
       con->idle_handler (con);
     }
 exit:


hooks/post-receive
-- 
GNU libmicrohttpd



reply via email to

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