Skip to content

Unexpected QuicStream.WriteAsync exception #82523

@bentoi

Description

@bentoi

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions