Skip to content

fix(status): map h2 FRAME_SIZE_ERROR to Code::Internal#2641

Open
SAY-5 wants to merge 1 commit into
grpc:masterfrom
SAY-5:fix-h2-frame-size-error-mapping
Open

fix(status): map h2 FRAME_SIZE_ERROR to Code::Internal#2641
SAY-5 wants to merge 1 commit into
grpc:masterfrom
SAY-5:fix-h2-frame-size-error-mapping

Conversation

@SAY-5
Copy link
Copy Markdown

@SAY-5 SAY-5 commented May 13, 2026

Motivation

Status::code_from_h2 does not handle h2::Reason::FRAME_SIZE_ERROR, so it falls through to Code::Unknown. The gRPC-over-HTTP/2 error mapping specifies INTERNAL for it. Closes #2577.

Solution

Add FRAME_SIZE_ERROR to the Code::Internal arm and add a regression test.

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.

h2::Reason::FRAME_SIZE_ERROR should be mapped to Code::Internal

1 participant