commit 5c7a9ff9c3617755bf0959b1e01c8786b7f15c0e
parent be1065889b4d39c0757caa035842ca4eaee14598
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 18 Aug 2021 20:19:26 +0300
setup_reply_properties(): removed one assert
Actually non-chunked can be enforced by response flags
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -1647,7 +1647,6 @@ setup_reply_properties (struct MHD_Connection *connection)
if ( (MHD_SIZE_UNKNOWN == r->total_size) && ! use_chunked)
{
- mhd_assert (! MHD_IS_HTTP_VER_1_1_COMPAT (c->http_ver));
/* End of the stream is indicated by closure */
c->keepalive = MHD_CONN_MUST_CLOSE;
}