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

netty: Release SendGrpcFrameCommand when stream is missing #11116

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

benjaminp
Copy link
Contributor

sendGrpcFrame owns the buffer in SendGrpcFrameCommand. If the frame is not handed off to netty, it needs to be released in the method.

#11115

`sendGrpcFrame` owns the buffer in `SendGrpcFrameCommand`. If the frame is not handed off to netty, it needs to be released in the method.

grpc#11115
Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to duplicate the information in the issue: This fixes a bug introduced by #10258 that was released in 1.63.0

@ejona86 ejona86 added kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run TODO:backport PR needs to be backported. Removed after backport complete labels Apr 22, 2024
@grpc-kokoro grpc-kokoro removed the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Apr 22, 2024
@larry-safran larry-safran merged commit fb9a108 into grpc:master Apr 22, 2024
13 checks passed
@benjaminp benjaminp deleted the stream-gone-release branch April 22, 2024 18:29
ejona86 pushed a commit to ejona86/grpc-java that referenced this pull request Apr 23, 2024
`sendGrpcFrame` owns the buffer in `SendGrpcFrameCommand`. If the frame is not handed off to netty, it needs to be released in the method.

grpc#11115
@SoilChang
Copy link

any release date for the backport or 1.64?

ejona86 pushed a commit that referenced this pull request Apr 25, 2024
`sendGrpcFrame` owns the buffer in `SendGrpcFrameCommand`. If the frame is not handed off to netty, it needs to be released in the method.

#11115
@ejona86 ejona86 removed the TODO:backport PR needs to be backported. Removed after backport complete label Apr 25, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants