iipc / jwarc

Java library for reading and writing WARC files with a typed API
Apache License 2.0
47 stars 8 forks source link

GunzipChannel input position is off by 2 if gzip extra field is present #31

Closed sebastian-nagel closed 4 years ago

sebastian-nagel commented 4 years ago

GunzipChannel does not update the input position properly while reading gzip the extra field (cf. #14, fixed by #15 which introduced this bug). The input offset is then off by 2.