Update httplib.h (#2030)

fix 'max'
This commit is contained in:
Baiyies authored and GitHub committed 2025-01-26 08:50:10 -05:00
1 parent 929dfbd348
commit d69f144a99
1 file changed
+1 -1
+1 -1
View File
@@ -4457,7 +4457,7 @@ bool read_content(Stream &strm, T &x, size_t payload_max_length, int &status,
} else {
auto is_invalid_value = false;
auto len = get_header_value_u64(x.headers, "Content-Length",
std::numeric_limits<uint64_t>::max(),
(std::numeric_limits<uint64_t>::max)(),
0, is_invalid_value);
if (is_invalid_value) {