diff options
Diffstat (limited to 'src/microhttpd/connection.c')
-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 e894fe24..1dca8f94 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -3155,7 +3155,7 @@ parse_http_version (struct MHD_Connection *connection, | |||
3155 | const char *const h = http_string; /**< short alias */ | 3155 | const char *const h = http_string; /**< short alias */ |
3156 | mhd_assert (NULL != http_string); | 3156 | mhd_assert (NULL != http_string); |
3157 | 3157 | ||
3158 | /* String must starts with 'HTTP/d.d', case-sensetive match. | 3158 | /* String must start with 'HTTP/d.d', case-sensetive match. |
3159 | * See https://datatracker.ietf.org/doc/html/rfc7230#section-2.6 */ | 3159 | * See https://datatracker.ietf.org/doc/html/rfc7230#section-2.6 */ |
3160 | if ((len != 8) || | 3160 | if ((len != 8) || |
3161 | (h[0] != 'H') || (h[1] != 'T') || (h[2] != 'T') || (h[3] != 'P') || | 3161 | (h[0] != 'H') || (h[1] != 'T') || (h[2] != 'T') || (h[3] != 'P') || |