Skip to content

Commit

Permalink
Add missing frame release to Http2ClientStreamTransportState.
Browse files Browse the repository at this point in the history
If a data frame is received before headers, processing of the frame is abandoned. The frame must be released in that case.
  • Loading branch information
benjaminp authored and ejona86 committed Feb 11, 2025
1 parent bd6af59 commit dc316f7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ protected void transportDataReceived(ReadableBuffer frame, boolean endOfStream)
}
} else {
if (!headersReceived) {
frame.close();
http2ProcessingFailed(
Status.INTERNAL.withDescription("headers not received before payload"),
false,
Expand Down

0 comments on commit dc316f7

Please sign in to comment.