mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-14 16:58:30 +00:00
![]() * fix(parser): Limit line length in getline Prevents potential infinite loop and memory exhaustion in stream_line_reader::getline by enforcing max line length. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi> * fix: increase default max line length to 32k LONG_QUERY_VALUE test is set at 25k. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi> * test(client): expect read error with too long query Adds a test case (`TooLongQueryValue`) to verify client behavior when the request URI is excessively long, exceeding `CPPHTTPLIB_MAX_LINE_LENGTH`. In this scenario, the server is expected to reset the connection. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi> --------- Signed-off-by: Ville Vesilehto <ville@vesilehto.fi> |
||
---|---|---|
.. | ||
fuzzing | ||
gtest | ||
proxy | ||
www | ||
www2/dir | ||
www3/dir | ||
ca-bundle.crt | ||
CMakeLists.txt | ||
gen-certs.sh | ||
image.jpg | ||
include_httplib.cc | ||
include_windows_h.cc | ||
make-shared-library.sh | ||
Makefile | ||
meson.build | ||
test.cc | ||
test.conf | ||
test.rootCA.conf | ||
test.sln | ||
test.vcxproj | ||
test_proxy.cc |