18 references to ConnectionAbortedException
ClientSample (3)
Tcp\TcpConnection.cs (3)
128error = new ConnectionAbortedException(); 135error = new ConnectionAbortedException(); 150error = error ?? new ConnectionAbortedException();
InMemory.FunctionalTests (3)
Http2\Http2ConnectionTests.cs (2)
1702_connection.Abort(new ConnectionAbortedException(), ConnectionEndReason.AbortedByApp); 5125_connection.Abort(new ConnectionAbortedException(), ConnectionEndReason.AbortedByApp);
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
1042Abort(new ConnectionAbortedException());
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http3\Http3Stream.cs (1)
1247Abort(new(), Http3ErrorCode.RequestCancelled);
Internal\WebTransport\WebTransportSession.cs (1)
64Abort(new(), (Http3ErrorCode)errorCode);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (7)
Http1\Http1ConnectionTests.cs (7)
686_http1Connection.Abort(new ConnectionAbortedException(), ConnectionEndReason.AbortedByApp); 708_http1Connection.Abort(new ConnectionAbortedException(), ConnectionEndReason.AbortedByApp); 723_http1Connection.Abort(new ConnectionAbortedException(), ConnectionEndReason.AbortedByApp); 768_http1Connection.Abort(new ConnectionAbortedException(), ConnectionEndReason.AbortedByApp); 786_http1Connection.Abort(new ConnectionAbortedException(), ConnectionEndReason.AbortedByApp); 798_http1Connection.Abort(new ConnectionAbortedException(), ConnectionEndReason.AbortedByApp); 812_http1Connection.Abort(new ConnectionAbortedException(), ConnectionEndReason.AbortedByApp);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
1042Abort(new ConnectionAbortedException());
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
QuicStreamContextTests.cs (2)
581Assert.Throws<ArgumentOutOfRangeException>(() => protocolErrorCodeFeature.AbortRead(errorCode, new ConnectionAbortedException())); 582Assert.Throws<ArgumentOutOfRangeException>(() => protocolErrorCodeFeature.AbortWrite(errorCode, new ConnectionAbortedException()));