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

stream: swallow Header errors as we used to; RecvMsg can still return it #6586

Merged
merged 3 commits into from Aug 28, 2023

Conversation

dfawley
Copy link
Member

@dfawley dfawley commented Aug 25, 2023

Fixes #6524

This reverts the behavior change part of #6557 but allows retry to keep working, because the transport still returns the error through withRetry() via the attempt stream's Header() method.

This will need to be backported to 1.58.x.

RELEASE NOTES: none

@arvindbr8
Copy link
Member

LGTM, I guess proto needs another regenerate?

@dfawley dfawley merged commit 8b1a671 into grpc:master Aug 28, 2023
10 of 11 checks passed
@dfawley dfawley deleted the hdr branch August 28, 2023 20:13
dfawley added a commit to dfawley/grpc-go that referenced this pull request Aug 28, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs: Do nil headers from stream.Header() indicate an error?
2 participants