diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2017-12-20 16:02:42 +0100 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2017-12-20 16:02:42 +0100 |
commit | 4acc9d3d1a6774f4c00079bdba0fafc51afcbd6a (patch) | |
tree | 02eb4c32b13aee8d982fb1c768cb4ff12182fd00 /lib/ftplistparser.h | |
parent | e639d4ca4d794c222dde4680d9ff35053f501042 (diff) |
content_encoding: rework zlib_inflate
- When zlib version is < 1.2.0.4, process gzip trailer before considering
extra data as an error.
- Inflate with Z_BLOCK instead of Z_SYNC_FLUSH to maximize correct data
and minimize corrupt data output.
- Do not try to restart deflate decompression in raw mode if output has
started or if the leading data is not available anymore.
- New test 232 checks inflating raw-deflated content.
Closes #2068
Diffstat (limited to 'lib/ftplistparser.h')
0 files changed, 0 insertions, 0 deletions