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

An an override of Flush() to GZipOutputStream to ensure the headers are writen before flushing #390

Merged
merged 2 commits into from
Jun 19, 2020

Conversation

Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Oct 3, 2019

refs #382 - An an override of Flush() to GZipOutputStream to ensure the GZip header is always written before any data is flushed to the output stream.

I'm not entirely sure that there aren't any other issues occuring the described example or with the way flushing is handled, but ensuring the header is written before flushing fixes the tests and seems a reasonable thing to do.

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

@piksel piksel self-requested a review January 2, 2020 14:27
@piksel piksel linked an issue Jun 18, 2020 that may be closed by this pull request
@piksel piksel merged commit 1a130a0 into icsharpcode:master Jun 19, 2020
@Numpsy Numpsy deleted the rw/382 branch June 19, 2020 22:46
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.

Dont create TarArchive with smaller files.
2 participants