mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
![]() * Fix successful decompress reported as Error::Read Streams less than 4096 bytes are sometimes reported as failed reads because stream_.avail_in is not reduced to 0. The next iteration of the loop finds `prev_avail_in == strm_.avail_in` and return false. `ret = inflate(...)` returns Z_STREAM_END on the first iteration of the loop indicating that inflate is finished. This fix prevents the second iteration of the loop from failing. * Fix successful decompress reported as Error::Read - Add unit tests for raw deflate that illustrates the decompression failure when there are extra trailing bytes |
||
---|---|---|
.. | ||
fuzzing | ||
gtest | ||
proxy | ||
www/dir | ||
www2/dir | ||
www3/dir | ||
ca-bundle.crt | ||
CMakeLists.txt | ||
image.jpg | ||
include_httplib.cc | ||
Makefile | ||
meson.build | ||
test.cc | ||
test.conf | ||
test.rootCA.conf | ||
test.sln | ||
test.vcxproj | ||
test_proxy.cc |