mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-17 10:59:39 +00:00
Merge branch 'master' of github.com:yhirose/cpp-httplib
This commit is contained in:
commit
fa90d06dd5
2 files changed
+11
-2
No files matched your search
@@ -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; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user