libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit e04eb2189b2ed86cd774916ad983ba443876f285
parent 68c83f22b84ab115117f724dbe7fc846549207c5
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 28 Jul 2026 11:01:37 +0200

add missing return to ensure 413 is given to client

Diffstat:
Msrc/microhttpd/connection.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -3466,6 +3466,7 @@ handle_req_chunk_size_line_no_space (struct MHD_Connection *c, transmit_error_response_static (c, MHD_HTTP_CONTENT_TOO_LARGE, ERR_MSG_REQUEST_CHUNK_LINE_EXT_TOO_BIG); + return; /* The error response has been queued already */ } } err_code = get_no_space_err_status_code (c,