Description
QuicStream.WriteAsync can throw if the remote stream is disposed after reading the data. I don't expect WriteAsync to throw if the data is successfully sent.
Reproduction Steps
Run the attached test case: quicwriteexception.zip
Expected behavior
No exception.
Actual behavior
WriteAsync raises System.Net.Quic.QuicException: Stream aborted by peer (0).
Regression?
No response
Known Workarounds
No response
Configuration
DotNet 7.0.100
Other information
No response