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

Throw an error on missing status in gRPC and gRPC-Web transports #1205

Merged
merged 12 commits into from
Sep 11, 2024

Conversation

srikrsna-buf
Copy link
Member

@srikrsna-buf srikrsna-buf commented Sep 3, 2024

Throw an error on missing status in gRPC and gRPC-Web transports.

In node, there is no way to tell if a server terminated with RST_STREAM with code NO_ERROR or a regular close. This is causing such closures to not be reported. Checking to see if we received the trailers with the status code will result in the same case. This closes #1108.

This change also triggered a minor conformance failure of unsupported header check, so this PR also adds the check to gRPC transport. We continue to omit this for gRPC-Web for compatibility with other gRPC-Web libraries

Signed-off-by: Sri Krishna Paritala <[email protected]>
Signed-off-by: Sri Krishna Paritala <[email protected]>
@srikrsna-buf srikrsna-buf merged commit 837b6ce into main Sep 11, 2024
46 checks passed
@srikrsna-buf srikrsna-buf deleted the sk/rst_noerror branch September 11, 2024 10:19
@timostamm timostamm mentioned this pull request Sep 11, 2024
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.

RST_STREAM Handling
2 participants