You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix ZLibDecompressor dropping data past the first gzip member
When a response body contains concatenated gzip members (RFC 1952 §2.2),
zlib sets eof and moves the remaining bytes to unused_data once the
first member is fully consumed. decompress_sync() was not checking
unused_data, so every member after the first was silently discarded.
Apply the same while-eof-and-unused_data loop that ZSTDDecompressor
already uses for multi-frame zstd streams. Add unused_data to
ZLibDecompressObjProtocol so the attribute is typed. Include three
tests mirroring the existing ZSTD multi-frame test suite.
Fixes#7157
Signed-off-by: Ashutosh Kumar Singh <ahutoshhjp1067@gmail.com>
0 commit comments