Skip to content

Conversation

@felixhorger
Copy link
Contributor

@felixhorger felixhorger commented Jul 28, 2022

I ran into problems with large streams, which is because the ZStream structure only takes UInt32 for e.g. avail_in; and so does the zlib backend.
I made some small adjustments to work around that, tests are passed with this modification.
I haven't added a test for the compression of large streams, as it might cause an OOM.
The decompressor wasn't modified, but in all cases I tested no problem occurred, maybe someone with a better understanding of the matter can have a look?
Cheers, Felix.

@JonasIsensee
Copy link

It would be really cool, if this could be merged.
Is there anything that prevents this?

@mkitti
Copy link
Member

mkitti commented Jan 24, 2023

Yea, let's merge it!

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.

3 participants