Skip to content

HTTP2: DelegatingDecompressorFrameListener must release memory in all cases#16880

Merged
normanmaurer merged 1 commit into
4.1from
h241
Jun 2, 2026
Merged

HTTP2: DelegatingDecompressorFrameListener must release memory in all cases#16880
normanmaurer merged 1 commit into
4.1from
h241

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

@normanmaurer normanmaurer commented Jun 1, 2026

Motivation:

We need to ensure we also release the buffer if the flow controller for example throws, missing to do so might result in OOME.

Modifications:

Move buf.release() to finally block

Result:

Always release buffer

… cases

Motivation:

We need to ensure we also release the buffer if the flow controller for example throws, missing to do so might result in OOME.

Modifications:

Move buf.release() to finally block

Result:

Always release buffer
@normanmaurer normanmaurer added this to the 4.1.135.Final milestone Jun 1, 2026
@normanmaurer normanmaurer added the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Jun 1, 2026
@normanmaurer normanmaurer changed the title h241 HTTP2: DelegatingDecompressorFrameListener must release memory in all cases Jun 1, 2026
@normanmaurer normanmaurer merged commit db6138b into 4.1 Jun 2, 2026
20 checks passed
@normanmaurer normanmaurer deleted the h241 branch June 2, 2026 10:15
@netty-project-bot
Copy link
Copy Markdown
Contributor

Auto-port PR for 5.0: #16900

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.

2 participants