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

Transport: Do not make the buffer skip while a stream is open. #11988

Merged
merged 1 commit into from Jul 2, 2015

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Jul 2, 2015

This commit changes MessageChannelHandler to not skip the underlying
ChannelBuffer while a StreamInput is open on top of it. In case eg. compression
is enabled, this prevents failures due to the fact that the decompressed
stream input expects a certain structure that it can't verify if the position
of the underlying buffer is changed.

This commit changes MessageChannelHandler to not skip the underlying
ChannelBuffer while a StreamInput is open on top of it. In case eg. compression
is enabled, this prevents failures due to the fact that the decompressed
stream input expects a certain structure that it can't verify if the position
of the underlying buffer is changed.
@jpountz jpountz added >bug v2.0.0-beta1 :Distributed/Network Http and internode communication implementations labels Jul 2, 2015
@s1monw
Copy link
Contributor

s1monw commented Jul 2, 2015

LGTM

jpountz added a commit that referenced this pull request Jul 2, 2015
Transport: Do not make the buffer skip while a stream is open.
@jpountz jpountz merged commit 6765635 into elastic:master Jul 2, 2015
@jpountz jpountz deleted the fix/zlib_skip_underlying branch July 2, 2015 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed/Network Http and internode communication implementations v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants