gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 08/13: keepalive_possible(): added TODOs


From: gnunet
Subject: [libmicrohttpd] 08/13: keepalive_possible(): added TODOs
Date: Sat, 30 Oct 2021 19:17:25 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 4fe217e364039b152b03a693bad69695bd55e0f3
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Oct 30 17:59:25 2021 +0300

    keepalive_possible(): added TODOs
---
 src/microhttpd/connection.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 33d54234..9031510a 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1294,6 +1294,9 @@ keepalive_possible (struct MHD_Connection *connection)
     mhd_assert (0 == (r->flags_auto & MHD_RAF_HAS_CONNECTION_CLOSE));
     /* Valid HTTP version is enforced by 'MHD_queue_response()' */
     mhd_assert (MHD_IS_HTTP_VER_SUPPORTED (c->http_ver));
+    /* TODO: Enable assert when MHD will allow early response */
+    /* TODO: Add 'early_response' */
+    /* mhd_assert (! c->stop_with_error); */
     return MHD_CONN_MUST_UPGRADE;
   }
 #endif /* UPGRADE_SUPPORT */

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