Skip to content

Auto-port 5.0: HTTP2: DelegatingDecompressorFrameListener must release memory in all cases#16900

Merged
chrisvest merged 1 commit into
5.0from
auto-port-pr-16880-to-5.0
Jun 4, 2026
Merged

Auto-port 5.0: HTTP2: DelegatingDecompressorFrameListener must release memory in all cases#16900
chrisvest merged 1 commit into
5.0from
auto-port-pr-16880-to-5.0

Conversation

@netty-project-bot
Copy link
Copy Markdown
Contributor

Auto-port of #16880 to 5.0
Cherry-picked commit: db6138b


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 (#16880)

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

(cherry picked from commit db6138b)
@chrisvest chrisvest added this to the 5.0.0.Final milestone Jun 2, 2026
@chrisvest chrisvest merged commit c6203b6 into 5.0 Jun 4, 2026
13 checks passed
@chrisvest chrisvest deleted the auto-port-pr-16880-to-5.0 branch June 4, 2026 17:01
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.

3 participants