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

Patch: pako and Z_SYNC_FLUSH #57

Merged
merged 2 commits into from
Jun 9, 2015
Merged

Patch: pako and Z_SYNC_FLUSH #57

merged 2 commits into from
Jun 9, 2015

Conversation

TinoLange
Copy link
Contributor

Hi Vitaly,

attached is a pull request for adding Z_SYNC_FLUSH support to the high-level wrapper.
This allows flushing the de/compression to send out / receive interim chunks without loosing the context.

I have checked that all your existing tests still succeed (so nothing broke after my changes) and have tested the now working Z_SYNC_FLUSH in my own application. Hopefully I will find the time to add a test for Z_SYNC_FLUSH to your own test-cases in tests/*.js later as well. I will create another pull request for that. For now I can report that "make check" and "make coverage" still pass all tests.

The documentation is changed as well, clarifying the new possibilities.
Please have a look if you can merge these changes for the next pako release.

Thanks and best regards

Tino

puzrin pushed a commit that referenced this pull request Jun 9, 2015
Patch: pako and Z_SYNC_FLUSH
@puzrin puzrin merged commit e77b84e into nodeca:master Jun 9, 2015
@TinoLange TinoLange deleted the flushfix branch June 9, 2015 19:57
puzrin pushed a commit that referenced this pull request Nov 8, 2020
rlidwka pushed a commit that referenced this pull request Jun 10, 2022
rlidwka pushed a commit that referenced this pull request Jun 10, 2022
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.

2 participants