diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-06-07 17:41:54 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-06-07 17:41:54 +0200 |
commit | 711099c7ea1d0aaa9547e5c476f3f659d9c8af16 (patch) | |
tree | f9a42d14eca0c5ada8832b16c58cbdf36313360b | |
parent | 82abaee62f000d379646ee412af45a1f8a1ddc87 (diff) | |
download | libmicrohttpd-711099c7ea1d0aaa9547e5c476f3f659d9c8af16.tar.gz libmicrohttpd-711099c7ea1d0aaa9547e5c476f3f659d9c8af16.zip |
unsure why this was left as a TODO, fix seems trivial (EG: please check)
-rw-r--r-- | src/microhttpd/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index be291e75..32911327 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -3116,7 +3116,7 @@ parse_cookie_header (struct MHD_Connection *connection) | |||
3116 | hdr_len); | 3116 | hdr_len); |
3117 | cpy[hdr_len] = '\0'; | 3117 | cpy[hdr_len] = '\0'; |
3118 | 3118 | ||
3119 | strict_parsing = false; /* TODO: make it configurable */ | 3119 | strict_parsing = (1 == connection->daemon->strict_for_client); |
3120 | i = 0; | 3120 | i = 0; |
3121 | /* Skip all initial whitespaces */ | 3121 | /* Skip all initial whitespaces */ |
3122 | while (i < hdr_len && (' ' == cpy[i] || '\t' == cpy[i])) | 3122 | while (i < hdr_len && (' ' == cpy[i] || '\t' == cpy[i])) |