gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: proper fix for #7757


From: gnunet
Subject: [libmicrohttpd] branch master updated: proper fix for #7757
Date: Sun, 03 Sep 2023 12:05:20 +0200

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

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new c690b40e proper fix for #7757
c690b40e is described below

commit c690b40eb0782d2af3b409b449d166aa8e5de91b
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sun Sep 3 12:05:07 2023 +0200

    proper fix for #7757
---
 src/microhttpd/connection.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index a785f7c0..768f12cb 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2763,9 +2763,16 @@ transmit_error_response_len (struct MHD_Connection 
*connection,
     iret = MHD_YES;
 
   if (MHD_NO != iret)
+  {
+    bool before = connection->in_access_handler;
+
+    /* Fake the flag for the internal call */
+    connection->in_access_handler = true;
     iret = MHD_queue_response (connection,
                                status_code,
                                response);
+    connection->in_access_handler = before;
+  }
   MHD_destroy_response (response);
   if (MHD_NO == iret)
   {

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