gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 01/02: MHD_queue_response(): do not return MHD_YES when


From: gnunet
Subject: [libmicrohttpd] 01/02: MHD_queue_response(): do not return MHD_YES when shutting down the daemon
Date: Mon, 19 Feb 2024 10:23:01 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 09fa10e988e93ac6f7b8d906db0e1a98e8d48192
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Feb 19 14:17:40 2024 +0500

    MHD_queue_response(): do not return MHD_YES when shutting down the daemon
    
    Provide correct information for application about queue status
---
 src/microhttpd/connection.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index aa7734ab..44f075a3 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -7882,8 +7882,7 @@ MHD_queue_response (struct MHD_Connection *connection,
     return MHD_NO; /* Wrong connection state */
 
   if (daemon->shutdown)
-    return MHD_YES; /* If daemon was shut down in parallel,
-                     * response will be aborted now or on later stage. */
+    return MHD_NO;
 
 #ifdef UPGRADE_SUPPORT
   if (NULL != response->upgrade_handler)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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