14 references to ConnectionAborted
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (3)
Internal\QuicConnectionContext.cs (1)
131catch (QuicException ex) when (ex.QuicError == QuicError.ConnectionAborted)
Internal\QuicStreamContext.cs (2)
273catch (QuicException ex) when (ex.QuicError is QuicError.StreamAborted or QuicError.ConnectionAborted) 434catch (QuicException ex) when (ex.QuicError is QuicError.StreamAborted or QuicError.ConnectionAborted)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
QuicConnectionContextTests.cs (2)
140Assert.Equal(QuicError.ConnectionAborted, innerEx.QuicError); 303Assert.Equal(QuicError.ConnectionAborted, innerEx.QuicError);
System.Net.Http (5)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (3)
396catch (QuicException ex) when (ex.QuicError == QuicError.ConnectionAborted) 457catch (QuicException ex) when (ex.QuicError == QuicError.ConnectionAborted) 592catch (QuicException ex) when (ex.QuicError == QuicError.ConnectionAborted)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (2)
269catch (QuicException ex) when (ex.QuicError == QuicError.ConnectionAborted) 1266case QuicException e when (e.QuicError == QuicError.ConnectionAborted):
System.Net.Quic (4)
System\Net\Quic\Internal\ThrowHelper.cs (3)
18return new QuicException(QuicError.ConnectionAborted, errorCode, SR.Format(SR.net_quic_connectionaborted, errorCode)); 49exception = new QuicException(QuicError.ConnectionAborted, null, ""); 69internal static bool IsConnectionAbortedWhenStartingStreamException(Exception ex) => ex is QuicException qe && qe.QuicError == QuicError.ConnectionAborted && qe.ApplicationErrorCode is null;
System\Net\Quic\QuicException.cs (1)
70/// This property contains the error code set by the application layer when closing the connection (<see cref="QuicError.ConnectionAborted"/>) or closing a read/write direction of a QUIC stream (<see cref="QuicError.StreamAborted"/>). Contains null for all other errors.