12 references to RequestCancelled
InMemory.FunctionalTests (3)
Http3\Http3StreamTests.cs (3)
1113resetFeature.Reset((int)Http3ErrorCode.RequestCancelled); 1119Http3ErrorCode.RequestCancelled, 1121CoreStrings.FormatHttp3StreamResetByApplication(Http3Formatting.ToFormattedErrorCode(Http3ErrorCode.RequestCancelled)));
Microsoft.AspNetCore.Server.Kestrel (1)
WebHostBuilderKestrelExtensions.cs (1)
61options.DefaultStreamErrorCode = (long)Http3ErrorCode.RequestCancelled;
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http3\Http3Formatting.cs (1)
41Http3ErrorCode.RequestCancelled => "H3_REQUEST_CANCELLED",
Internal\Http3\Http3Stream.cs (1)
1267Abort(new(), Http3ErrorCode.RequestCancelled);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (6)
QuicConnectionContextTests.cs (4)
30defaultCloseErrorCode: (long)Http3ErrorCode.RequestCancelled); 54defaultCloseErrorCode: (long)Http3ErrorCode.RequestCancelled); 70exceptionMessage: $"Connection aborted by peer ({(long)Http3ErrorCode.RequestCancelled})."); 72Assert.Equal((long)Http3ErrorCode.RequestCancelled, ex.ApplicationErrorCode);
QuicStreamContextTests.cs (2)
145clientStream.Abort(QuicAbortDirection.Read, (long)Http3ErrorCode.RequestCancelled); 146clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.RequestCancelled);