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

QUIC: fix handling of peer send abort #55309

Merged
merged 1 commit into from
Jul 8, 2021

Conversation

geoffkizer
Copy link
Contributor

Fixes #53530

When we receive SHUTDOWN_COMPLETE we should not overwrite ReadState.Aborted if it was previously set due to the peer aborting their send.

I ran StreamAbortedWithoutWriting_ReadThrows in a loop for 2+ minutes and did not see a failure here.

@ghost
Copy link

ghost commented Jul 8, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #53530

When we receive SHUTDOWN_COMPLETE we should not overwrite ReadState.Aborted if it was previously set due to the peer aborting their send.

I ran StreamAbortedWithoutWriting_ReadThrows in a loop for 2+ minutes and did not see a failure here.

Author: geoffkizer
Assignees: -
Labels:

area-System.Net

Milestone: -

Copy link
Member

@wfurt wfurt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ManickaP ManickaP merged commit 75fb0c3 into dotnet:main Jul 8, 2021
@karelz karelz added this to the 6.0.0 milestone Jul 15, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Aug 14, 2021
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.

[QUIC] QuicStreamAbortedException sometimes is not thrown
4 participants