23 instantiations of StreamPipeReaderOptions
http2cat (2)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
21this(duplexPipe, new StreamPipeReaderOptions(leaveOpen: true), new StreamPipeWriterOptions(leaveOpen: true), createStream)
IIS.FunctionalTests (2)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
21this(duplexPipe, new StreamPipeReaderOptions(leaveOpen: true), new StreamPipeWriterOptions(leaveOpen: true), createStream)
IIS.LongTests (2)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
21this(duplexPipe, new StreamPipeReaderOptions(leaveOpen: true), new StreamPipeWriterOptions(leaveOpen: true), createStream)
IIS.NewHandler.FunctionalTests (2)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
21this(duplexPipe, new StreamPipeReaderOptions(leaveOpen: true), new StreamPipeWriterOptions(leaveOpen: true), createStream)
IIS.NewShim.FunctionalTests (2)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
21this(duplexPipe, new StreamPipeReaderOptions(leaveOpen: true), new StreamPipeWriterOptions(leaveOpen: true), createStream)
IIS.ShadowCopy.Tests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
21this(duplexPipe, new StreamPipeReaderOptions(leaveOpen: true), new StreamPipeWriterOptions(leaveOpen: true), createStream)
IISExpress.FunctionalTests (2)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
21this(duplexPipe, new StreamPipeReaderOptions(leaveOpen: true), new StreamPipeWriterOptions(leaveOpen: true), createStream)
Microsoft.AspNetCore.Http (1)
Features\RequestBodyPipeFeature.cs (1)
18private static readonly StreamPipeReaderOptions _defaultReaderOptions = new(useZeroByteReads: true);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
21this(duplexPipe, new StreamPipeReaderOptions(leaveOpen: true), new StreamPipeWriterOptions(leaveOpen: true), createStream)
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
21this(duplexPipe, new StreamPipeReaderOptions(leaveOpen: true), new StreamPipeWriterOptions(leaveOpen: true), createStream)
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
95RequestBodyPipeReader = PipeReader.Create(RequestBody, new StreamPipeReaderOptions(_context.MemoryPool, _context.MemoryPool.GetMinimumSegmentSize(), _context.MemoryPool.GetMinimumAllocSize(), useZeroByteReads: true));
Middleware\HttpsConnectionMiddleware.cs (1)
421StreamPipeReaderOptions inputPipeOptions = new StreamPipeReaderOptions
Middleware\LoggingDuplexPipe.cs (1)
11private static readonly StreamPipeReaderOptions _defaultReaderOptions = new(useZeroByteReads: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
21this(duplexPipe, new StreamPipeReaderOptions(leaveOpen: true), new StreamPipeWriterOptions(leaveOpen: true), createStream)
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
21this(duplexPipe, new StreamPipeReaderOptions(leaveOpen: true), new StreamPipeWriterOptions(leaveOpen: true), createStream)
System.IO.Pipelines (1)
System\IO\Pipelines\StreamPipeReaderOptions.cs (1)
15internal static readonly StreamPipeReaderOptions s_default = new StreamPipeReaderOptions();
52 references to StreamPipeReaderOptions
http2cat (4)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
25public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, TStream> createStream) :
src\Shared\ServerInfrastructure\SslDuplexPipe.cs (2)
14public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions) 19public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, SslStream> factory) :
IIS.FunctionalTests (4)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
25public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, TStream> createStream) :
src\Shared\ServerInfrastructure\SslDuplexPipe.cs (2)
14public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions) 19public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, SslStream> factory) :
IIS.LongTests (4)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
25public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, TStream> createStream) :
src\Shared\ServerInfrastructure\SslDuplexPipe.cs (2)
14public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions) 19public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, SslStream> factory) :
IIS.NewHandler.FunctionalTests (4)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
25public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, TStream> createStream) :
src\Shared\ServerInfrastructure\SslDuplexPipe.cs (2)
14public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions) 19public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, SslStream> factory) :
IIS.NewShim.FunctionalTests (4)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
25public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, TStream> createStream) :
src\Shared\ServerInfrastructure\SslDuplexPipe.cs (2)
14public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions) 19public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, SslStream> factory) :
IIS.ShadowCopy.Tests (3)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
25public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, TStream> createStream) :
src\Shared\ServerInfrastructure\SslDuplexPipe.cs (2)
14public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions) 19public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, SslStream> factory) :
IISExpress.FunctionalTests (4)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
25public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, TStream> createStream) :
src\Shared\ServerInfrastructure\SslDuplexPipe.cs (2)
14public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions) 19public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, SslStream> factory) :
Microsoft.AspNetCore.Http (1)
Features\RequestBodyPipeFeature.cs (1)
18private static readonly StreamPipeReaderOptions _defaultReaderOptions = new(useZeroByteReads: true);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
87var inputPipeOptions = new StreamPipeReaderOptions(memoryPool, memoryPool.GetMinimumSegmentSize(), memoryPool.GetMinimumAllocSize(), leaveOpen: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
25public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, TStream> createStream) :
src\Shared\ServerInfrastructure\SslDuplexPipe.cs (2)
14public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions) 19public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, SslStream> factory) :
Microsoft.AspNetCore.Server.IIS (3)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
25public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, TStream> createStream) :
src\Shared\ServerInfrastructure\SslDuplexPipe.cs (2)
14public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions) 19public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, SslStream> factory) :
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Middleware\HttpsConnectionMiddleware.cs (1)
421StreamPipeReaderOptions inputPipeOptions = new StreamPipeReaderOptions
Middleware\LoggingDuplexPipe.cs (1)
11private static readonly StreamPipeReaderOptions _defaultReaderOptions = new(useZeroByteReads: true);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
25public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, TStream> createStream) :
src\Shared\ServerInfrastructure\SslDuplexPipe.cs (2)
14public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions) 19public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, SslStream> factory) :
Microsoft.AspNetCore.Shared.Tests (3)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
25public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, TStream> createStream) :
src\Shared\ServerInfrastructure\SslDuplexPipe.cs (2)
14public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions) 19public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, SslStream> factory) :
System.IO.Pipelines (9)
System\IO\Pipelines\PipeReader.cs (2)
158public static PipeReader Create(Stream stream, StreamPipeReaderOptions? readerOptions = null) 160return new StreamPipeReader(stream, readerOptions ?? StreamPipeReaderOptions.s_default);
System\IO\Pipelines\StreamPipeReader.cs (2)
32private readonly StreamPipeReaderOptions _options; 39public StreamPipeReader(Stream readingStream, StreamPipeReaderOptions options)
System\IO\Pipelines\StreamPipeReaderOptions.cs (5)
15internal static readonly StreamPipeReaderOptions s_default = new StreamPipeReaderOptions(); 17/// <summary>Initializes a <see cref="System.IO.Pipelines.StreamPipeReaderOptions" /> instance, optionally specifying a memory pool, a minimum buffer size, a minimum read size, and whether the underlying stream should be left open after the <see cref="System.IO.Pipelines.PipeReader" /> completes.</summary> 28/// <summary>Initializes a <see cref="System.IO.Pipelines.StreamPipeReaderOptions" /> instance, optionally specifying a memory pool, a minimum buffer size, a minimum read size, and whether the underlying stream should be left open after the <see cref="System.IO.Pipelines.PipeReader" /> completes.</summary> 55/// <summary>Gets the minimum buffer size to use when renting memory from the <see cref="System.IO.Pipelines.StreamPipeReaderOptions.Pool" />.</summary> 59/// <summary>Gets the maximum buffer size to use when renting memory from the <see cref="System.IO.Pipelines.StreamPipeReaderOptions.Pool" />.</summary>