libmicrohttpd

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

commit 711099c7ea1d0aaa9547e5c476f3f659d9c8af16
parent 82abaee62f000d379646ee412af45a1f8a1ddc87
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  7 Jun 2022 17:41:54 +0200

unsure why this was left as a TODO, fix seems trivial (EG: please check)

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 @@ -3116,7 +3116,7 @@ parse_cookie_header (struct MHD_Connection *connection) hdr_len); cpy[hdr_len] = '\0'; - strict_parsing = false; /* TODO: make it configurable */ + strict_parsing = (1 == connection->daemon->strict_for_client); i = 0; /* Skip all initial whitespaces */ while (i < hdr_len && (' ' == cpy[i] || '\t' == cpy[i]))