41 references to InternalError
InMemory.FunctionalTests (16)
Http3\Http3StreamTests.cs (9)
141Http3ErrorCode.InternalError, 938Http3ErrorCode.InternalError, 1093Http3ErrorCode.InternalError, 1632await requestStream.WaitForStreamErrorAsync(Http3ErrorCode.InternalError, 1690await requestStream.WaitForStreamErrorAsync(Http3ErrorCode.InternalError, 1749await requestStream.WaitForStreamErrorAsync(Http3ErrorCode.InternalError, expectedErrorMessage: null); 1813await requestStream.WaitForStreamErrorAsync(Http3ErrorCode.InternalError, expectedErrorMessage: null); 2387Http3ErrorCode.InternalError); 2830Http3ErrorCode.InternalError,
Http3\Http3TimeoutTests.cs (5)
370Http3ErrorCode.InternalError, 413Http3ErrorCode.InternalError, 568Http3ErrorCode.InternalError, 623Http3ErrorCode.InternalError, 679Http3ErrorCode.InternalError,
Http3\WebTransport\WebTransportSessionTests.cs (2)
79session.Abort(new(), System.Net.Http.Http3ErrorCode.InternalError); 88Http3Api.Connection._streams[session.SessionId].Abort(new(), System.Net.Http.Http3ErrorCode.InternalError);
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Internal\Http3\Http3Connection.cs (3)
159Abort(ex, Http3ErrorCode.InternalError, reason); 322OnStreamConnectionError(new Http3ConnectionErrorException(CoreStrings.ConnectionTimedBecauseResponseMininumDataRateNotSatisfied, Http3ErrorCode.InternalError, ConnectionEndReason.MinResponseDataRate)); 566Abort(CreateConnectionAbortError(error, clientAbort), Http3ErrorCode.InternalError, ConnectionEndReason.OtherError);
Internal\Http3\Http3Formatting.cs (1)
31Http3ErrorCode.InternalError => "H3_INTERNAL_ERROR",
Internal\Http3\Http3FrameWriter.cs (2)
322_http3Stream.Abort(new ConnectionAbortedException(ex.Message, ex), Http3ErrorCode.InternalError); 377_http3Stream.Abort(new ConnectionAbortedException(ex.Message, ex), Http3ErrorCode.InternalError);
Internal\Http3\Http3OutputProducer.cs (2)
110_stream.Abort(abortReason, Http3ErrorCode.InternalError); 115_stream.Abort(new ConnectionAbortedException($"{nameof(Http3OutputProducer)}.{nameof(ProcessDataWrites)} has completed."), Http3ErrorCode.InternalError);
Internal\Http3\Http3Stream.cs (3)
207Abort(abortReason, Http3ErrorCode.InternalError); 834throw new Http3StreamErrorException(ex.Message, Http3ErrorCode.InternalError); 971protected override void ApplicationAbort() => ApplicationAbort(new ConnectionAbortedException(CoreStrings.ConnectionAbortedByApplication), Http3ErrorCode.InternalError);
Internal\WebTransport\WebTransportStream.cs (1)
86_log.Http3StreamAbort(ConnectionId, Http3ErrorCode.InternalError, abortReason);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (13)
QuicConnectionContextTests.cs (4)
423clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.InternalError); 428Assert.Equal((long)Http3ErrorCode.InternalError, ((QuicException)ex.InnerException).ApplicationErrorCode.Value); 472clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.InternalError); 477Assert.Equal((long)Http3ErrorCode.InternalError, ((QuicException)serverEx.InnerException).ApplicationErrorCode.Value);
QuicStreamContextTests.cs (9)
273clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.InternalError); 282Assert.Equal((long)Http3ErrorCode.InternalError, ((QuicException)ex.InnerException).ApplicationErrorCode.Value); 286Assert.Equal((long)Http3ErrorCode.InternalError, quicStreamContext.Error); 351clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.InternalError); 357Assert.Equal((long)Http3ErrorCode.InternalError, ((QuicException)ex.InnerException).ApplicationErrorCode.Value); 464((IProtocolErrorCodeFeature)serverStream).Error = (long)Http3ErrorCode.InternalError; 471Assert.Equal((long)Http3ErrorCode.InternalError, ex.ApplicationErrorCode.Value); 508streamAbortFeature.AbortRead((long)Http3ErrorCode.InternalError, new ConnectionAbortedException("Test reason")); 524Assert.Equal((long)Http3ErrorCode.InternalError, clientEx.ApplicationErrorCode.Value);