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

WriteAsync cancellation throws an error with the calls completed status if possible #2170

Merged
merged 2 commits into from
Jun 22, 2023

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Jun 21, 2023

Fixes #2122

If a call is completed during Stream.WriteAsync, the cancellation error was thrown. This has been changed to throw the call's completed status if available.

@JamesNK JamesNK merged commit 2be676a into grpc:master Jun 22, 2023
@JamesNK JamesNK deleted the jamesnk/cancellation-during-write branch June 22, 2023 07:12
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.

Streams sporadically throw unexpected exceptions
2 participants