libmicrohttpd

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

commit 2d551c422da896190f2278eff11955dfb439f658
parent c375e5aa1cb4e5976b98470e840d8ebc99bf5d14
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Tue,  7 Jun 2022 20:01:19 +0300

Added TODO comment

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

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -3116,7 +3116,8 @@ parse_cookie_header (struct MHD_Connection *connection) hdr_len); cpy[hdr_len] = '\0'; - strict_parsing = (1 == connection->daemon->strict_for_client); + /* TODO: add individual configuration */ + strict_parsing = (0 < connection->daemon->strict_for_client); i = 0; /* Skip all initial whitespaces */ while (i < hdr_len && (' ' == cpy[i] || '\t' == cpy[i]))