60 references to WaitForStreamErrorAsync
InMemory.FunctionalTests (60)
Http2\Http2ConnectionTests.cs (23)
47
await
WaitForStreamErrorAsync
(5, Http2ErrorCode.REFUSED_STREAM, CoreStrings.Http2ErrorMaxStreams);
617
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.INTERNAL_ERROR, null);
633
await
WaitForStreamErrorAsync
(3, Http2ErrorCode.REFUSED_STREAM, CoreStrings.Http2ErrorMaxStreams);
658
await
WaitForStreamErrorAsync
(3, Http2ErrorCode.REFUSED_STREAM, CoreStrings.Http2ErrorMaxStreams);
1365
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.NO_ERROR, null);
1753
await
WaitForStreamErrorAsync
(
1772
await
WaitForStreamErrorAsync
(
1810
await
WaitForStreamErrorAsync
(
2512
await
WaitForStreamErrorAsync
(3, Http2ErrorCode.REFUSED_STREAM, CoreStrings.Http2ErrorMaxStreams);
2905
await
WaitForStreamErrorAsync
(
3080
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.BadRequest_RequestLineTooLong);
4570
await
WaitForStreamErrorAsync
(
4953
await
WaitForStreamErrorAsync
(
5376
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.NO_ERROR, null);
5424
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.INTERNAL_ERROR, "The connection was aborted by the application.");
5470
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.CANCEL, "The HTTP/2 stream was reset by the application with error code CANCEL.");
5556
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.REFUSED_STREAM, "HTTP/2 stream ID 1 error (REFUSED_STREAM): A new stream was refused because this connection has reached its stream limit.");
5646
await
WaitForStreamErrorAsync
(3, Http2ErrorCode.REFUSED_STREAM, "HTTP/2 stream ID 3 error (REFUSED_STREAM): A new stream was refused because this connection has reached its stream limit.");
5647
await
WaitForStreamErrorAsync
(5, Http2ErrorCode.REFUSED_STREAM, "HTTP/2 stream ID 5 error (REFUSED_STREAM): A new stream was refused because this connection has reached its stream limit.");
5648
await
WaitForStreamErrorAsync
(7, Http2ErrorCode.REFUSED_STREAM, "HTTP/2 stream ID 7 error (REFUSED_STREAM): A new stream was refused because this connection has reached its stream limit.");
5691
await
WaitForStreamErrorAsync
(3, Http2ErrorCode.REFUSED_STREAM, CoreStrings.Http2ErrorMaxStreams);
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\Http2StreamTests.cs (34)
58
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.FormatHttp2ErrorMethodInvalid(""));
77
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.FormatHttp2ErrorMethodInvalid("Hello,World"));
447
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.Http2ErrorConnectMustNotSendSchemeOrPath);
464
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.PROTOCOL_ERROR,
524
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.PROTOCOL_ERROR,
724
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.PROTOCOL_ERROR,
745
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.PROTOCOL_ERROR,
766
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.PROTOCOL_ERROR,
789
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.BadRequest_RequestLineTooLong);
1104
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.Http2StreamErrorLessDataThanLength);
1129
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.Http2StreamErrorLessDataThanLength);
1158
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.Http2StreamErrorMoreDataThanLength);
1193
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.Http2StreamErrorLessDataThanLength);
1229
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.Http2StreamErrorMoreDataThanLength);
1265
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.Http2StreamErrorLessDataThanLength);
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));
1924
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.NO_ERROR, null);
2011
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.NO_ERROR, null);
2074
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.NO_ERROR, null);
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);
5668
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.NO_ERROR, expectedErrorMessage:
5760
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.NO_ERROR, expectedErrorMessage:
Http2\Http2TimeoutTests.cs (1)
260
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.INTERNAL_ERROR, "The connection was aborted by the application.");
Http2\Http2WebSocketTests.cs (2)
297
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.ConnectRequestsWithProtocolRequireSchemeAndPath);
317
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.ProtocolRequiresConnect);