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

Fix CompressMaxSize() for ZLib provider #312

Merged
merged 1 commit into from
Jul 7, 2020
Merged

Conversation

merlimat
Copy link
Contributor

@merlimat merlimat commented Jul 7, 2020

Motivation

As seen in tests for #310, there's a panic caused by having the wrong max buffer size estimate from the ZLib provider, because we're not considering the headers size for incompressible data.

@merlimat merlimat added this to the 0.2.0 milestone Jul 7, 2020
@merlimat merlimat self-assigned this Jul 7, 2020
@merlimat merlimat merged commit 6a80299 into apache:master Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants