62 references to WaitForStreamErrorAsync
InMemory.FunctionalTests (62)
Http2\Http2ConnectionTests.cs (25)
47
await
WaitForStreamErrorAsync
(5, Http2ErrorCode.REFUSED_STREAM, CoreStrings.Http2ErrorMaxStreams);
624
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.INTERNAL_ERROR, null);
640
await
WaitForStreamErrorAsync
(3, Http2ErrorCode.REFUSED_STREAM, CoreStrings.Http2ErrorMaxStreams);
665
await
WaitForStreamErrorAsync
(3, Http2ErrorCode.REFUSED_STREAM, CoreStrings.Http2ErrorMaxStreams);
1374
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.NO_ERROR, null);
1762
await
WaitForStreamErrorAsync
(
1781
await
WaitForStreamErrorAsync
(
1819
await
WaitForStreamErrorAsync
(
2323
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.Http2StreamErrorLessDataThanLength);
2590
await
WaitForStreamErrorAsync
(3, Http2ErrorCode.REFUSED_STREAM, CoreStrings.Http2ErrorMaxStreams);
3036
await
WaitForStreamErrorAsync
(
3211
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.PROTOCOL_ERROR, CoreStrings.BadRequest_RequestLineTooLong);
3761
await
WaitForStreamErrorAsync
(expectedStreamId: 1, Http2ErrorCode.STREAM_CLOSED, CoreStrings.Http2StreamAborted);
4713
await
WaitForStreamErrorAsync
(
5096
await
WaitForStreamErrorAsync
(
5520
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.NO_ERROR, null);
5568
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.INTERNAL_ERROR, "The connection was aborted by the application.");
5614
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.CANCEL, "The HTTP/2 stream was reset by the application with error code CANCEL.");
5700
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.");
5790
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.");
5791
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.");
5792
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.");
5835
await
WaitForStreamErrorAsync
(3, Http2ErrorCode.REFUSED_STREAM, CoreStrings.Http2ErrorMaxStreams);
5863
await
WaitForStreamErrorAsync
(1, Http2ErrorCode.INTERNAL_ERROR, "The connection was aborted by the application.");
5940
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)
261
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);