gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 24/29: process new connection: fixed missing mutex unloc


From: gnunet
Subject: [libmicrohttpd] 24/29: process new connection: fixed missing mutex unlock in error handling path
Date: Tue, 20 Jun 2023 22:24:37 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 67061d5ce2e8433dc97c75bca2711134b66fdc69
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Jun 19 13:05:28 2023 +0300

    process new connection: fixed missing mutex unlock in error handling path
---
 src/microhttpd/daemon.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index c403d02b..a09df69f 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2778,6 +2778,7 @@ new_connection_process_ (struct MHD_Daemon *daemon,
     /* Firm check under lock. */
     if (daemon->connections >= daemon->connection_limit)
     { /* Connections limit */
+      MHD_mutex_unlock_chk_ (&daemon->cleanup_connection_mutex);
 #ifdef HAVE_MESSAGES
       MHD_DLOG (daemon,
                 _ ("Server reached connection limit. "

-- 
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]