4 implementations of AbortRead
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
1268void IStreamAbortFeature.AbortRead(long errorCode, ConnectionAbortedException abortReason)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Http3\Http3HttpProtocolFeatureCollectionTests.cs (1)
90void IStreamAbortFeature.AbortRead(long errorCode, ConnectionAbortedException abortReason)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
1268void IStreamAbortFeature.AbortRead(long errorCode, ConnectionAbortedException abortReason)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Internal\QuicStreamContext.FeatureCollection.cs (1)
59public void AbortRead(long errorCode, ConnectionAbortedException abortReason)
4 references to AbortRead
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http3\Http3Stream.cs (1)
556_streamAbortFeature.AbortRead((long)Http3ErrorCode.NoError, new ConnectionAbortedException("The application completed without reading the entire request body."));
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (3)
QuicStreamContextTests.cs (3)
81serverStream.Features.Get<IStreamAbortFeature>().AbortRead((long)Http3ErrorCode.NoError, new ConnectionAbortedException("Test message.")); 508streamAbortFeature.AbortRead((long)Http3ErrorCode.InternalError, new ConnectionAbortedException("Test reason")); 582Assert.Throws<ArgumentOutOfRangeException>(() => protocolErrorCodeFeature.AbortRead(errorCode, new ConnectionAbortedException()));