Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add concateneted gzip support for fs2 gunzip #3538

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ShreyTanna29
Copy link

fixes #3503

added support for handling concatenated gzip files through the gunzipMulti method. The issue was identified when attempting to decompress files created using gzip -c with multiple input files.

Previously, attempting to decompress concatenated gzip files would result in a ZipException: Content failed CRC validation.

Changes made:

  • Enhanced CompressionPlatform to properly process multiple gzip members
  • Added state tracking for CRC32 validation across concatenated streams
  • Implemented proper member boundary detection using GZIP magic numbers
  • Added test coverage for concatenated gzip file handling

@armanbilge
Copy link
Member

Thanks for the PR! The test you added does not pass currently (and CI is failing anyways).

@ShreyTanna29
Copy link
Author

@armanbilge ok, i'll improve it and commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fs2 gunzip doesn't support concatenated gzip files
2 participants