41 references to InternalError
InMemory.FunctionalTests (16)
Http3\Http3StreamTests.cs (9)
141
Http3ErrorCode.
InternalError
,
938
Http3ErrorCode.
InternalError
,
1093
Http3ErrorCode.
InternalError
,
1632
await requestStream.WaitForStreamErrorAsync(Http3ErrorCode.
InternalError
,
1690
await requestStream.WaitForStreamErrorAsync(Http3ErrorCode.
InternalError
,
1749
await requestStream.WaitForStreamErrorAsync(Http3ErrorCode.
InternalError
, expectedErrorMessage: null);
1813
await requestStream.WaitForStreamErrorAsync(Http3ErrorCode.
InternalError
, expectedErrorMessage: null);
2387
Http3ErrorCode.
InternalError
);
2830
Http3ErrorCode.
InternalError
,
Http3\Http3TimeoutTests.cs (5)
370
Http3ErrorCode.
InternalError
,
413
Http3ErrorCode.
InternalError
,
568
Http3ErrorCode.
InternalError
,
623
Http3ErrorCode.
InternalError
,
679
Http3ErrorCode.
InternalError
,
Http3\WebTransport\WebTransportSessionTests.cs (2)
79
session.Abort(new(), System.Net.Http.Http3ErrorCode.
InternalError
);
88
Http3Api.Connection._streams[session.SessionId].Abort(new(), System.Net.Http.Http3ErrorCode.
InternalError
);
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Internal\Http3\Http3Connection.cs (3)
159
Abort(ex, Http3ErrorCode.
InternalError
, reason);
322
OnStreamConnectionError(new Http3ConnectionErrorException(CoreStrings.ConnectionTimedBecauseResponseMininumDataRateNotSatisfied, Http3ErrorCode.
InternalError
, ConnectionEndReason.MinResponseDataRate));
566
Abort(CreateConnectionAbortError(error, clientAbort), Http3ErrorCode.
InternalError
, ConnectionEndReason.OtherError);
Internal\Http3\Http3Formatting.cs (1)
31
Http3ErrorCode.
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)
207
Abort(abortReason, Http3ErrorCode.
InternalError
);
834
throw new Http3StreamErrorException(ex.Message, Http3ErrorCode.
InternalError
);
971
protected 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)
423
clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.
InternalError
);
428
Assert.Equal((long)Http3ErrorCode.
InternalError
, ((QuicException)ex.InnerException).ApplicationErrorCode.Value);
472
clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.
InternalError
);
477
Assert.Equal((long)Http3ErrorCode.
InternalError
, ((QuicException)serverEx.InnerException).ApplicationErrorCode.Value);
QuicStreamContextTests.cs (9)
273
clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.
InternalError
);
282
Assert.Equal((long)Http3ErrorCode.
InternalError
, ((QuicException)ex.InnerException).ApplicationErrorCode.Value);
286
Assert.Equal((long)Http3ErrorCode.
InternalError
, quicStreamContext.Error);
351
clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.
InternalError
);
357
Assert.Equal((long)Http3ErrorCode.
InternalError
, ((QuicException)ex.InnerException).ApplicationErrorCode.Value);
464
((IProtocolErrorCodeFeature)serverStream).Error = (long)Http3ErrorCode.
InternalError
;
471
Assert.Equal((long)Http3ErrorCode.
InternalError
, ex.ApplicationErrorCode.Value);
508
streamAbortFeature.AbortRead((long)Http3ErrorCode.
InternalError
, new ConnectionAbortedException("Test reason"));
524
Assert.Equal((long)Http3ErrorCode.
InternalError
, clientEx.ApplicationErrorCode.Value);