15 overrides of CancelPendingRead
InMemory.FunctionalTests (4)
Http3\WebTransport\WebTransportTestUtilities.cs (1)
180public override void CancelPendingRead()
src\Servers\Kestrel\shared\CompletionPipeReader.cs (1)
47public override void CancelPendingRead()
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
74public override void CancelPendingRead() => _input.CancelPendingRead();
TestTransport\InMemoryTransportConnection.cs (1)
137public override void CancelPendingRead()
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpRequestPipeReader.cs (1)
38public override void CancelPendingRead()
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
74public override void CancelPendingRead() => _input.CancelPendingRead();
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\CompletionPipeReader.cs (1)
47public override void CancelPendingRead()
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Servers\Kestrel\shared\CompletionPipeReader.cs (1)
47public override void CancelPendingRead()
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
Shared\TestPipeReader.cs (1)
25public override void CancelPendingRead()
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.cs (1)
2950public override void CancelPendingRead() =>
Sockets.FunctionalTests (2)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
74public override void CancelPendingRead() => _input.CancelPendingRead();
src\Servers\Kestrel\test\FunctionalTests\ConnectionMiddlewareTests.cs (1)
107public override void CancelPendingRead()
System.IO.Pipelines (3)
System\IO\Pipelines\Pipe.DefaultPipeReader.cs (1)
32public override void CancelPendingRead() => _pipe.CancelPendingRead();
System\IO\Pipelines\SequencePipeReader.cs (1)
44public override void CancelPendingRead()
System\IO\Pipelines\StreamPipeReader.cs (1)
160public override void CancelPendingRead()
75 references to CancelPendingRead
http2cat (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
34_input.CancelPendingRead();
IIS.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
34_input.CancelPendingRead();
IIS.LongTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
34_input.CancelPendingRead();
IIS.NewHandler.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
34_input.CancelPendingRead();
IIS.NewShim.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
34_input.CancelPendingRead();
IIS.ShadowCopy.Tests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
34_input.CancelPendingRead();
IISExpress.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
34_input.CancelPendingRead();
InMemory.FunctionalTests (8)
ChunkedRequestTests.cs (1)
923httpContext.Request.BodyReader.CancelPendingRead();
Http2\PipeReaderFactory.cs (1)
15private static readonly Action<object> _cancelReader = state => ((PipeReader)state).CancelPendingRead();
RequestTests.cs (1)
1915httpContext.Request.BodyReader.CancelPendingRead();
src\Servers\Kestrel\shared\CompletionPipeReader.cs (1)
49_inner.CancelPendingRead();
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
74public override void CancelPendingRead() => _input.CancelPendingRead();
src\Servers\Kestrel\shared\TransportConnection.cs (1)
73Application.Input.CancelPendingRead();
TestTransport\InMemoryTransportConnection.cs (1)
139_reader.CancelPendingRead();
UpgradeTests.cs (1)
405connectionTransportFeature.Transport.Input.CancelPendingRead();
Microsoft.AspNetCore.Http.Connections (3)
Internal\HttpConnectionContext.cs (2)
331Application?.Input.CancelPendingRead(); 558Application.Input.CancelPendingRead();
Internal\Transports\WebSocketsServerTransport.cs (1)
79_application.Input.CancelPendingRead();
Microsoft.AspNetCore.Http.Connections.Client (6)
Internal\LongPollingTransport.cs (2)
91_application.Input.CancelPendingRead(); 123_application.Input.CancelPendingRead();
Internal\ServerSentEventsTransport.cs (2)
108_application.Input.CancelPendingRead(); 187_application.Input.CancelPendingRead();
Internal\WebSocketsTransport.cs (2)
365_application.Input.CancelPendingRead(); 670_application.Input.CancelPendingRead();
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
34_input.CancelPendingRead();
Microsoft.AspNetCore.Server.IIS (3)
Core\OutputProducer.cs (2)
37_pipe.Reader.CancelPendingRead(); 67_pipe.Reader.CancelPendingRead();
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
34_input.CancelPendingRead();
Microsoft.AspNetCore.Server.Kestrel.Core (14)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (2)
86_requestBodyPipe.Reader.CancelPendingRead(); 189_context.Input.CancelPendingRead();
Internal\Http\Http1Connection.cs (2)
137Input.CancelPendingRead(); 149Input.CancelPendingRead();
Internal\Http\Http1ContentLengthMessageBody.cs (1)
257_context.Input.CancelPendingRead();
Internal\Http\Http1UpgradeMessageBody.cs (1)
46_context.Input.CancelPendingRead();
Internal\Http2\Http2Connection.cs (3)
282Input.CancelPendingRead(); 493_context.Transport.Input.CancelPendingRead(); 1398Input.CancelPendingRead();
Internal\Http2\Http2MessageBody.cs (1)
144_context.RequestBodyPipe.Reader.CancelPendingRead();
Internal\Http3\Http3MessageBody.cs (1)
112_context.RequestBodyPipe.Reader.CancelPendingRead();
Internal\Http3\Http3PendingStream.cs (1)
35Context.Transport.Input.CancelPendingRead();
Internal\Http3\Http3Stream.cs (1)
576Input.CancelPendingRead();
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
34_input.CancelPendingRead();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (9)
BodyControlTests.cs (2)
99Assert.Throws<Exception>(() => requestPipe.CancelPendingRead())); 117Assert.Throws<ObjectDisposedException>(() => requestPipe.CancelPendingRead());
MessageBodyTests.cs (5)
716input.Transport.Input.CancelPendingRead(); 989reader.CancelPendingRead(); 1010reader.CancelPendingRead(); 1031reader.CancelPendingRead(); 1054reader.CancelPendingRead();
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
74public override void CancelPendingRead() => _input.CancelPendingRead();
TestHelpers\TestInput.cs (1)
79Transport.Input.CancelPendingRead();
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
src\Servers\Kestrel\shared\CompletionPipeReader.cs (1)
49_inner.CancelPendingRead();
src\Servers\Kestrel\shared\TransportConnection.cs (1)
73Application.Input.CancelPendingRead();
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (2)
Internal\NamedPipeConnection.cs (1)
277Output.CancelPendingRead();
src\Servers\Kestrel\shared\TransportConnection.cs (1)
73Application.Input.CancelPendingRead();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (5)
Internal\QuicStreamContext.cs (2)
197Output.CancelPendingRead(); 517Output.CancelPendingRead();
src\Servers\Kestrel\shared\CompletionPipeReader.cs (1)
49_inner.CancelPendingRead();
src\Servers\Kestrel\shared\TransportConnection.cs (1)
73Application.Input.CancelPendingRead();
src\Servers\Kestrel\shared\TransportMultiplexedConnection.cs (1)
59Application.Input.CancelPendingRead();
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (2)
Internal\SocketConnection.cs (1)
97Output.CancelPendingRead();
src\Servers\Kestrel\shared\TransportConnection.cs (1)
73Application.Input.CancelPendingRead();
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
34_input.CancelPendingRead();
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.cs (2)
2257Connection.Transport.Input.CancelPendingRead(); 2382Connection.Transport.Input.CancelPendingRead();
Microsoft.AspNetCore.SignalR.Client.Tests (1)
TestTransport.cs (1)
90Application.Input.CancelPendingRead();
Microsoft.AspNetCore.SignalR.Core (2)
HubConnectionContext.cs (2)
25private static readonly Action<object?> _cancelReader = state => ((PipeReader)state!).CancelPendingRead(); 487Input.CancelPendingRead();
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.cs (1)
2951_originalPipeReader.CancelPendingRead();
Microsoft.AspNetCore.TestHost (2)
HttpContextBuilder.cs (1)
264_requestPipe.Reader.CancelPendingRead();
ResponseBodyReaderStream.cs (1)
124_pipe.Reader.CancelPendingRead();
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
74public override void CancelPendingRead() => _input.CancelPendingRead();
System.IO.Pipelines (3)
System\IO\Pipelines\ReadResult.cs (3)
16/// <param name="isCanceled">A flag that indicates if the <see cref="System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="System.IO.Pipelines.ReadResult" /> was canceled by <see cref="System.IO.Pipelines.PipeReader.CancelPendingRead" />.</param> 37/// <summary>Gets a value that indicates whether the current <see cref="System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation was canceled by <see cref="System.IO.Pipelines.PipeReader.CancelPendingRead" />.</summary> 38/// <value><see langword="true" /> if the <see cref="System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="System.IO.Pipelines.ReadResult" /> was canceled by <see cref="System.IO.Pipelines.PipeReader.CancelPendingRead" />; otherwise, <see langword="false" />.</value>