Merge branch 'ard_chunked_http_request' into integration

This commit is contained in:
J. Nick Koston
2026-02-06 11:23:51 +01:00
14 changed files with 257 additions and 54 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ size_t parse_hex(const char *str, size_t length, uint8_t *data, size_t count) {
size_t chars = std::min(length, 2 * count);
for (size_t i = 2 * count - chars; i < 2 * count; i++, str++) {
uint8_t val = parse_hex_char(*str);
if (val > 15)
if (val == INVALID_HEX_CHAR)
return 0;
data[i >> 1] = (i & 1) ? data[i >> 1] | val : val << 4;
}