25 references to PipeOptions
Microsoft.AspNetCore.Http.Connections (2)
HttpConnectionDispatcherOptions.cs (2)
152
internal PipeOptions TransportPipeOptions => _transportPipeOptions ??= new
PipeOptions
(pauseWriterThreshold: TransportMaxBufferSize, resumeWriterThreshold: TransportMaxBufferSize / 2, readerScheduler: PipeScheduler.ThreadPool, useSynchronizationContext: false);
154
internal PipeOptions AppPipeOptions => _appPipeOptions ??= new
PipeOptions
(pauseWriterThreshold: ApplicationMaxBufferSize, resumeWriterThreshold: ApplicationMaxBufferSize / 2, readerScheduler: PipeScheduler.ThreadPool, useSynchronizationContext: false);
Microsoft.AspNetCore.Http.Connections.Client (3)
HttpConnectionOptions.cs (2)
125
internal PipeOptions TransportPipeOptions => _transportPipeOptions ??= new
PipeOptions
(pauseWriterThreshold: TransportMaxBufferSize, resumeWriterThreshold: TransportMaxBufferSize / 2, readerScheduler: PipeScheduler.ThreadPool, useSynchronizationContext: false);
127
internal PipeOptions AppPipeOptions => _appPipeOptions ??= new
PipeOptions
(pauseWriterThreshold: ApplicationMaxBufferSize, resumeWriterThreshold: ApplicationMaxBufferSize / 2, readerScheduler: PipeScheduler.ThreadPool, useSynchronizationContext: false);
Internal\ClientPipeOptions.cs (1)
10
public static PipeOptions DefaultOptions = new
PipeOptions
(writerScheduler: PipeScheduler.ThreadPool, readerScheduler: PipeScheduler.ThreadPool, useSynchronizationContext: false);
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.cs (2)
308
var pipe = new Pipe(new
PipeOptions
(
555
_bodyInputPipe = new Pipe(new
PipeOptions
(_memoryPool, readerScheduler: PipeScheduler.ThreadPool, minimumSegmentSize: MinAllocBufferSize));
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (1)
548
=> new Pipe(new
PipeOptions
Internal\Http2\Http2Connection.cs (1)
1882
private PipeOptions GetInputPipeOptions() => new
PipeOptions
(pool: _context.MemoryPool,
Internal\Http2\Http2OutputProducer.cs (1)
763
=> new Pipe(new
PipeOptions
Internal\Http2\Http2Stream.cs (1)
649
=> new Pipe(new
PipeOptions
Internal\Http3\Http3OutputProducer.cs (1)
476
=> new Pipe(new
PipeOptions
Internal\Http3\Http3Stream.cs (1)
1242
=> new Pipe(new
PipeOptions
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (2)
Internal\NamedPipeConnectionListener.cs (2)
57
_inputOptions = new
PipeOptions
(_memoryPool, PipeScheduler.ThreadPool, PipeScheduler.Inline, maxReadBufferSize, maxReadBufferSize / 2, useSynchronizationContext: false);
58
_outputOptions = new
PipeOptions
(_memoryPool, PipeScheduler.Inline, PipeScheduler.ThreadPool, maxWriteBufferSize, maxWriteBufferSize / 2, useSynchronizationContext: false);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicStreamContext.cs (2)
60
var inputOptions = new
PipeOptions
(MemoryPool, PipeScheduler.ThreadPool, PipeScheduler.Inline, maxReadBufferSize, maxReadBufferSize / 2, useSynchronizationContext: false);
61
var outputOptions = new
PipeOptions
(MemoryPool, PipeScheduler.Inline, PipeScheduler.ThreadPool, maxWriteBufferSize, maxWriteBufferSize / 2, useSynchronizationContext: false);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (6)
Client\SocketConnectionFactory.cs (2)
42
_inputOptions = new
PipeOptions
(_memoryPool, applicationScheduler, transportScheduler, maxReadBufferSize, maxReadBufferSize / 2, useSynchronizationContext: false);
43
_outputOptions = new
PipeOptions
(_memoryPool, transportScheduler, applicationScheduler, maxWriteBufferSize, maxWriteBufferSize / 2, useSynchronizationContext: false);
SocketConnectionContextFactory.cs (4)
56
InputOptions = new
PipeOptions
(memoryPool, applicationScheduler, transportScheduler, maxReadBufferSize, maxReadBufferSize / 2, useSynchronizationContext: false),
57
OutputOptions = new
PipeOptions
(memoryPool, transportScheduler, applicationScheduler, maxWriteBufferSize, maxWriteBufferSize / 2, useSynchronizationContext: false),
73
InputOptions = new
PipeOptions
(memoryPool, applicationScheduler, transportScheduler, maxReadBufferSize, maxReadBufferSize / 2, useSynchronizationContext: false),
74
OutputOptions = new
PipeOptions
(memoryPool, transportScheduler, applicationScheduler, maxWriteBufferSize, maxWriteBufferSize / 2, useSynchronizationContext: false),
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\aspnetcore\src\SignalR\common\testassets\Tests.Utils\TestClient.cs (1)
43
var options = new
PipeOptions
(readerScheduler: PipeScheduler.Inline, writerScheduler: PipeScheduler.Inline, useSynchronizationContext: false,
System.IO.Pipelines (1)
System\IO\Pipelines\PipeOptions.cs (1)
16
public static PipeOptions Default { get; } = new
PipeOptions
();