libmicrohttpd

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

commit c345fa6474be6deb0f62209d68572142f62d7b28
parent f07e09b7dcd3833e2be7b711819710e75058d2fc
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Fri, 10 Apr 2026 11:54:53 +0200

enable content-length duplicate check at default discipline level

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 @@ -4912,7 +4912,7 @@ parse_connection_headers (struct MHD_Connection *connection) size_t num_digits; if (found && - (1 <= connection->daemon->client_discipline)) + (0 <= connection->daemon->client_discipline)) { /* more than one header, bad */ transmit_error_response_static (connection,