22 references to ConnectionAbortedException
Microsoft.AspNetCore.Server.Kestrel.Core (19)
Internal\Http\HttpProtocol.cs (1)
1524
var wrappedException = new
ConnectionAbortedException
("The BodyPipe was completed with an exception.", exception);
Internal\Http2\Http2Connection.cs (1)
442
?? new
ConnectionAbortedException
(CoreStrings.Http2ConnectionFaulted, error!);
Internal\Http2\Http2FrameWriter.cs (3)
362
_http2Connection.Abort(new
ConnectionAbortedException
(CoreStrings.Http2ErrorWindowUpdateSizeInvalid, connectionError), http2ErrorCode, reason);
559
_http2Connection.Abort(new
ConnectionAbortedException
(ex.Message, ex), Http2ErrorCode.INTERNAL_ERROR, ConnectionEndReason.ErrorWritingHeaders);
600
_http2Connection.Abort(new
ConnectionAbortedException
(ex.Message, ex), Http2ErrorCode.INTERNAL_ERROR, ConnectionEndReason.ErrorWritingHeaders);
Internal\Http3\Http3Connection.cs (5)
178
session.Value.Abort(new
ConnectionAbortedException
(ex.Message, ex.InnerException), errorCode);
653
return new
ConnectionAbortedException
(CoreStrings.ConnectionAbortedByClient, error!);
656
return new
ConnectionAbortedException
(CoreStrings.Http3ConnectionFaulted, error!);
731
Abort(new
ConnectionAbortedException
(connectionError.Message, connectionError), connectionError.ErrorCode, ConnectionEndReason.ClosedCriticalStream);
864
Abort(new
ConnectionAbortedException
(ex.Message, ex), ex.ErrorCode, ex.Reason);
Internal\Http3\Http3FrameWriter.cs (4)
321
_connectionContext.Abort(new
ConnectionAbortedException
(ex.Message, ex));
322
_http3Stream.Abort(new
ConnectionAbortedException
(ex.Message, ex), Http3ErrorCode.InternalError);
376
_connectionContext.Abort(new
ConnectionAbortedException
(ex.Message, ex));
377
_http3Stream.Abort(new
ConnectionAbortedException
(ex.Message, ex), Http3ErrorCode.InternalError);
Internal\Http3\Http3Stream.cs (3)
167
abortReason = new
ConnectionAbortedException
(exception.Message, exception);
647
Abort(new
ConnectionAbortedException
(ex.Message, ex), ex.ErrorCode);
691
?? new
ConnectionAbortedException
("The stream has completed.", error!);
Internal\Infrastructure\PipeWriterHelpers\TimingPipeFlusher.cs (1)
95
outputAborter.Abort(new
ConnectionAbortedException
(CoreStrings.ConnectionOrStreamAbortedByCancellationToken, ex), ConnectionEndReason.WriteCanceled);
Internal\WebTransport\WebTransportSession.cs (1)
109
stream.Value.Abort(new
ConnectionAbortedException
(exception.Message, exception.InnerException));
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (3)
Internal\QuicConnectionContext.cs (2)
156
Abort(new
ConnectionAbortedException
("Unexpected error when accepting stream.", ex));
170
Abort(new
ConnectionAbortedException
("The connection timed out waiting for a response from the peer.", ex));
Internal\QuicStreamContext.cs (1)
295
error = new
ConnectionAbortedException
(ex.Message, ex);