Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpH…
…andler/Http3Connection.cs

Co-authored-by: Marie Píchová <[email protected]>
  • Loading branch information
rzikm and ManickaP authored Aug 10, 2022
commit 3a4bdffbe4478b8ac927ee33d753a8f7dd146c1e
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ private async Task SendSettingsAsync()
// Server MUST NOT abort our control stream, setup a continuation which will react accordingly
_ = _clientControl.WritesClosed.ContinueWith(t =>
{
if (t.Exception?.InnerExceptions.FirstOrDefault() is QuicException ex && ex.QuicError == QuicError.StreamAborted)
if (t.Exception?.InnerException is QuicException ex && ex.QuicError == QuicError.StreamAborted)
{
Abort(HttpProtocolException.CreateHttp3ConnectionException(Http3ErrorCode.ClosedCriticalStream));
}
Expand Down