-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 aborted if QuicStream.WriteAsync
cancellation token is canceled after WriteAsync
completes
#82704
Comments
Tagging subscribers to this area: @dotnet/ncl Issue DetailsDescriptionA quic stream can be aborted even if the cancellation token provided to Reproduction StepsSee attached test case. Expected behaviorSince Actual behaviorTest case shows:
Regression?No response Known WorkaroundsNo response Configuration
Other informationNo response
|
Triage: I can reproduce that. We should address it in 8.0. Seems to be part of a group of issues around S.N.Quic's ResettableValueTaskSource (Cancellation, Reads/WritesClosed and disposal order/behavior). |
Description
A quic stream can be aborted even if the cancellation token provided to
QuicStream.WriteAsync
is canceled afterWriteAsync
completes.Reproduction Steps
See attached test case.
quicabortread.zip
Expected behavior
Since
WriteAsync
successfully completed, it shouldn't trigger the stream abort if the cancellation token source is canceled after.Actual behavior
Test case shows:
Regression?
No response
Known Workarounds
No response
Configuration
Other information
No response
The text was updated successfully, but these errors were encountered: