libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit 19f3aeda821f50dcdc6aceef883534e313ba74ef
parent 327745c3a1e90f6549358191b8c9fcaea5ef2692
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 28 May 2026 20:12:28 +0200

assertion must then be on size_provided

Diffstat:
Msrc/mhd2/stream_process_request.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mhd2/stream_process_request.c b/src/mhd2/stream_process_request.c @@ -3464,7 +3464,7 @@ process_request_chunked_body (struct MHD_Connection *restrict c) &size_provided, buffer_head); // TODO: support one chunk in-place processing? - mhd_assert ((0 == cntn_data_ready) || \ + mhd_assert ((0 == size_provided) || \ (MHD_POST_PARSE_RES_OK != c->rq.u_proc.post.parse_result) || \ (mhd_HTTP_STAGE_BODY_RECEIVING != c->stage)); if (mhd_HTTP_STAGE_BODY_RECEIVING != c->stage)