libmicrohttpd

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

commit a868dbc89705411f0db745b90c6c0639bd471f12
parent ba8f88fcb47cfb0de5237d47f9487cd1f350cbe9
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Fri, 27 Feb 2026 19:18:28 +0100

Chunks parsing: corrected inverted discipline match

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

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -4427,7 +4427,7 @@ process_request_body (struct MHD_Connection *connection) const bool bare_lf_as_crlf = MHD_ALLOW_BARE_LF_AS_CRLF_ (discp_lvl); /* Allow "Bad WhiteSpace" in chunk extension. RFC 9112, Section 7.1.1, Paragraph 2 */ - const bool allow_bws = (2 < discp_lvl); + const bool allow_bws = (2 > discp_lvl); mhd_assert (NULL == connection->rp.response);