gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 13/13: build_header_response(): added assert


From: gnunet
Subject: [libmicrohttpd] 13/13: build_header_response(): added assert
Date: Sat, 30 Oct 2021 19:17:30 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 645b0140032d201a98f06878da8bb7ccecef9c88
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Oct 30 20:10:48 2021 +0300

    build_header_response(): added assert
---
 src/microhttpd/connection.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index a73c378f..1792d678 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2097,6 +2097,7 @@ build_header_response (struct MHD_Connection *connection)
   }
   /* The "Connection:" header */
   mhd_assert (! use_conn_close || ! use_conn_k_alive);
+  mhd_assert (! use_conn_k_alive || ! use_conn_close);
   if (0 == (r->flags_auto & MHD_RAF_HAS_CONNECTION_HDR))
   {
     if (use_conn_close)

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