1
0
mirror of synced 2025-09-07 00:46:38 +03:00

Merge branch 'master' of github.com:yhirose/cpp-httplib

This commit is contained in:
yhirose
2024-10-18 17:16:14 -04:00
2 changed files with 11 additions and 2 deletions

View File

@@ -396,7 +396,7 @@ struct hash {
}
};
}; // namespace case_ignore
} // namespace case_ignore
// This is based on
// "http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4189".
@@ -4114,7 +4114,7 @@ inline bool parse_header(const char *beg, const char *end, T fn) {
p++;
}
if (p < end) {
if (p <= end) {
auto key_len = key_end - beg;
if (!key_len) { return false; }