commit 4fe217e364039b152b03a693bad69695bd55e0f3
parent a89cb31ffbfb1c6bc4f1be33898f7a95173cc158
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sat, 30 Oct 2021 17:59:25 +0300
keepalive_possible(): added TODOs
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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 */