Skip to content

Ensure we always encode all data in JdkZlibEncoder.#8305

Merged
normanmaurer merged 1 commit into4.1from
zlib_encode
Sep 22, 2018
Merged

Ensure we always encode all data in JdkZlibEncoder.#8305
normanmaurer merged 1 commit into4.1from
zlib_encode

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

@normanmaurer normanmaurer commented Sep 21, 2018

Motivation:

In theory our estimation of the needed buffer could be off and so we need to ensure we grow it if there is no space left.

Modifications:

Ensure we grow the buffer if there is no space left in there but we still have data to deflate.

Result:

Correctly deflate data in all cases.

Motivation:

In theory our estimation of the needed buffer could be off and so we need to ensure we grow it if there is no space left.

Modifications:

Ensure we grow the buffer if there is no space left in there but we still have data to deflate.

Result:

Correctly deflate data in all cases.
@normanmaurer
Copy link
Copy Markdown
Member Author

@netty-bot test this please

@normanmaurer
Copy link
Copy Markdown
Member Author

@netty-bot test this please

@normanmaurer normanmaurer merged commit 9a3be34 into 4.1 Sep 22, 2018
@normanmaurer normanmaurer deleted the zlib_encode branch September 22, 2018 20:34
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