22 references to NoError
InMemory.FunctionalTests (12)
Http3\Http3ConnectionTests.cs (3)
190await Http3Api.WaitForConnectionStopAsync(expectedStreamId, false, expectedErrorCode: Http3ErrorCode.NoError); 220await Http3Api.WaitForConnectionStopAsync(4, false, expectedErrorCode: Http3ErrorCode.NoError); 338await Http3Api.WaitForConnectionStopAsync(0, true, expectedErrorCode: Http3ErrorCode.NoError);
Http3\Http3StreamTests.cs (4)
1851resetFeature.Reset((int)Http3ErrorCode.NoError); 1875Http3ErrorCode.NoError, 1916resetFeature.Reset((int)Http3ErrorCode.NoError); 1943Http3ErrorCode.NoError,
Http3\Http3TimeoutTests.cs (4)
30await Http3Api.WaitForConnectionStopAsync(0, false, expectedErrorCode: Http3ErrorCode.NoError); 47await Http3Api.WaitForConnectionStopAsync(0, false, expectedErrorCode: Http3ErrorCode.NoError); 76await Http3Api.WaitForConnectionStopAsync(4, false, expectedErrorCode: Http3ErrorCode.NoError); 122await Http3Api.WaitForConnectionStopAsync(4, false, expectedErrorCode: Http3ErrorCode.NoError);
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
647if (protocolError != Http3ErrorCode.NoError && (Http3ErrorCode)Error != protocolError)
Microsoft.AspNetCore.Server.Kestrel (1)
WebHostBuilderKestrelExtensions.cs (1)
62options.DefaultCloseErrorCode = (long)Http3ErrorCode.NoError;
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http3\Http3Connection.cs (2)
105private Http3ErrorCode Http3ErrorCodeOrNoError => _errorCodeFeature.Error == -1 ? Http3ErrorCode.NoError : (Http3ErrorCode)_errorCodeFeature.Error; 700_errorCodeFeature.Error = (long)Http3ErrorCode.NoError;
Internal\Http3\Http3Formatting.cs (1)
29Http3ErrorCode.NoError => "H3_NO_ERROR",
Internal\Http3\Http3Stream.cs (1)
568_streamAbortFeature.AbortRead((long)Http3ErrorCode.NoError, new ConnectionAbortedException("The application completed without reading the entire request body."));
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
647if (protocolError != Http3ErrorCode.NoError && (Http3ErrorCode)Error != protocolError)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (4)
QuicConnectionContextTests.cs (3)
298await quicConnection.CloseAsync((long)Http3ErrorCode.NoError).DefaultTimeout(); 304Assert.Equal((long)Http3ErrorCode.NoError, innerEx.ApplicationErrorCode.Value); 306Assert.Equal((long)Http3ErrorCode.NoError, serverConnection.Features.Get<IProtocolErrorCodeFeature>().Error);
QuicStreamContextTests.cs (1)
81serverStream.Features.Get<IStreamAbortFeature>().AbortRead((long)Http3ErrorCode.NoError, new ConnectionAbortedException("Test message."));