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 unbounded expansion of cumulative buffer in SslHandler #5932

Closed
wants to merge 1 commit into from

Conversation

Scottmitch
Copy link
Member

Motivation:
62057f7 introduced a regression where large amounts of memory could accumulate, and not be cleaned up in a timely manner.

Modifications:

  • Call super.channelReadComplete() instead of calling ctx.fireChannelReadComplete()

Result:
Fixes #5928

Motivation:
62057f7 introduced a regression where large amounts of memory could accumulate, and not be cleaned up in a timely manner.

Modifications:
- Call super.channelReadComplete() instead of calling ctx.fireChannelReadComplete()

Result:
Fixes netty#5928
@Scottmitch Scottmitch added this to the 4.0.43.Final milestone Oct 20, 2016
@Scottmitch Scottmitch self-assigned this Oct 20, 2016
@Scottmitch
Copy link
Member Author

@svnp10 @slandelle @trustin - FYI

@normanmaurer
Copy link
Member

@Scottmitch actually not LGTM... we already call discardSomeReadBytes() which should handle the problem. Calling super.channelReadComplete() is not necessary. So I
Don't think it's a regression introduced by 62057f7

@Scottmitch
Copy link
Member Author

we already call discardSomeReadBytes()

@normanmaurer - Good point. Let me close this.

@Scottmitch Scottmitch closed this Oct 21, 2016
@Scottmitch Scottmitch deleted the ssl_leak_buffer branch October 21, 2016 21:18
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.

None yet

2 participants