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:
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,