22 references to ConnectionAbortedException
Microsoft.AspNetCore.Server.Kestrel.Core (19)
Internal\Http\HttpProtocol.cs (1)
1524var 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)
178session.Value.Abort(new ConnectionAbortedException(ex.Message, ex.InnerException), errorCode); 653return new ConnectionAbortedException(CoreStrings.ConnectionAbortedByClient, error!); 656return new ConnectionAbortedException(CoreStrings.Http3ConnectionFaulted, error!); 731Abort(new ConnectionAbortedException(connectionError.Message, connectionError), connectionError.ErrorCode, ConnectionEndReason.ClosedCriticalStream); 864Abort(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)
167abortReason = new ConnectionAbortedException(exception.Message, exception); 647Abort(new ConnectionAbortedException(ex.Message, ex), ex.ErrorCode); 691?? new ConnectionAbortedException("The stream has completed.", error!);
Internal\Infrastructure\PipeWriterHelpers\TimingPipeFlusher.cs (1)
95outputAborter.Abort(new ConnectionAbortedException(CoreStrings.ConnectionOrStreamAbortedByCancellationToken, ex), ConnectionEndReason.WriteCanceled);
Internal\WebTransport\WebTransportSession.cs (1)
109stream.Value.Abort(new ConnectionAbortedException(exception.Message, exception.InnerException));
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (3)
Internal\QuicConnectionContext.cs (2)
156Abort(new ConnectionAbortedException("Unexpected error when accepting stream.", ex)); 170Abort(new ConnectionAbortedException("The connection timed out waiting for a response from the peer.", ex));
Internal\QuicStreamContext.cs (1)
295error = new ConnectionAbortedException(ex.Message, ex);