45 references to INTERNAL_ERROR
InMemory.FunctionalTests (32)
Http2\Http2ConnectionTests.cs (5)
617
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, null);
5144
VerifyGoAway(await ReceiveFrameAsync(), int.MaxValue, Http2ErrorCode.
INTERNAL_ERROR
);
5424
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, "The connection was aborted by the application.");
5718
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, "The connection was aborted by the application.");
5795
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, "The connection was aborted by the application.");
Http2\Http2KeepAliveTests.cs (1)
204
VerifyGoAway(await ReceiveFrameAsync().DefaultTimeout(), 0, Http2ErrorCode.
INTERNAL_ERROR
);
Http2\Http2StreamTests.cs (16)
1389
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, "Response Content-Length mismatch: too many bytes written (12 of 11).");
1770
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, "");
1804
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, "");
1841
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, CoreStrings.FormatTooFewBytesWritten(6, 11));
2235
await WaitForConnectionErrorAsync<Exception>(ignoreNonGoAwayFrames: false, int.MaxValue, Http2ErrorCode.
INTERNAL_ERROR
);
2586
await WaitForConnectionErrorAsync<Exception>(ignoreNonGoAwayFrames: false, int.MaxValue, Http2ErrorCode.
INTERNAL_ERROR
);
3149
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, "App Faulted");
3360
await WaitForStreamErrorAsync(expectedStreamId: 1, Http2ErrorCode.
INTERNAL_ERROR
, CoreStrings.ConnectionAbortedByApplication);
3412
await WaitForStreamErrorAsync(expectedStreamId: 1, Http2ErrorCode.
INTERNAL_ERROR
, CoreStrings.ConnectionAbortedByApplication);
3437
await WaitForStreamErrorAsync(expectedStreamId: 1, Http2ErrorCode.
INTERNAL_ERROR
, CoreStrings.ConnectionAbortedByApplication);
3464
await WaitForStreamErrorAsync(expectedStreamId: 1, Http2ErrorCode.
INTERNAL_ERROR
, CoreStrings.ConnectionAbortedByApplication);
3854
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, null);
5343
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
,
5414
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
,
5493
await Task.WhenAny(WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, expectedErrorMessage: null), appTcs.Task).Unwrap();
5582
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, expectedErrorMessage: null);
Http2\Http2TimeoutTests.cs (10)
195
Http2ErrorCode.
INTERNAL_ERROR
,
260
await WaitForStreamErrorAsync(1, Http2ErrorCode.
INTERNAL_ERROR
, "The connection was aborted by the application.");
496
Http2ErrorCode.
INTERNAL_ERROR
,
550
Http2ErrorCode.
INTERNAL_ERROR
,
616
Http2ErrorCode.
INTERNAL_ERROR
,
663
Http2ErrorCode.
INTERNAL_ERROR
,
714
Http2ErrorCode.
INTERNAL_ERROR
,
781
Http2ErrorCode.
INTERNAL_ERROR
,
849
Http2ErrorCode.
INTERNAL_ERROR
,
990
Http2ErrorCode.
INTERNAL_ERROR
,
Microsoft.AspNetCore.Server.Kestrel.Core (13)
Internal\Http2\Http2Connection.cs (5)
244
Abort(ex, Http2ErrorCode.
INTERNAL_ERROR
, reason);
264
Abort(new ConnectionAbortedException(CoreStrings.BadRequest_RequestHeadersTimeout), Http2ErrorCode.
INTERNAL_ERROR
, ConnectionEndReason.RequestHeadersTimeout);
272
Abort(new ConnectionAbortedException(CoreStrings.BadRequest_RequestBodyTimeout), Http2ErrorCode.
INTERNAL_ERROR
, ConnectionEndReason.MinRequestBodyDataRate);
378
throw new Http2ConnectionErrorException(CoreStrings.Http2ErrorKeepAliveTimeout, Http2ErrorCode.
INTERNAL_ERROR
, ConnectionEndReason.KeepAliveTimeout);
436
errorCode = Http2ErrorCode.
INTERNAL_ERROR
;
Internal\Http2\Http2FrameWriter.cs (4)
172
_http2Connection.Abort(ex, Http2ErrorCode.
INTERNAL_ERROR
, ConnectionEndReason.OutputQueueSizeExceeded);
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);
1131
_http2Connection.Abort(new ConnectionAbortedException("HTTP/2 connection exceeded the outgoing flow control maximum queue size."), Http2ErrorCode.
INTERNAL_ERROR
, ConnectionEndReason.FlowControlQueueSizeExceeded);
Internal\Http2\Http2OutputProducer.cs (2)
250
_stream.ResetAndAbort(abortReason, Http2ErrorCode.
INTERNAL_ERROR
);
255
_stream.ResetAndAbort(new ConnectionAbortedException($"{nameof(Http2OutputProducer)} has completed."), Http2ErrorCode.
INTERNAL_ERROR
);
Internal\Http2\Http2Stream.cs (2)
585
ResetAndAbort(abortReason, Http2ErrorCode.
INTERNAL_ERROR
);
588
protected override void ApplicationAbort() => ApplicationAbort(new ConnectionAbortedException(CoreStrings.ConnectionAbortedByApplication), Http2ErrorCode.
INTERNAL_ERROR
);