[release/6.0] Use ArrayPool as default pool fallback (#36253)
* Use ArrayPool as SlabMemoryPool fallback Fixes #30364 * Fix comments * Typos [ci skip] * Support increase buffer size * Add function tests, rename argument * Update src/Servers/Kestrel/Core/src/Internal/Http3/Http3OutputProducer.cs Co-authored-by:Stephen Halter <halter73@gmail.com> * Update src/Servers/Kestrel/Core/src/Internal/Http2/Http2OutputProducer.cs Co-authored-by:
Stephen Halter <halter73@gmail.com> * Reduce allocations Co-authored-by:
Sebastien Ros <sebastienros@gmail.com> Co-authored-by:
Stephen Halter <halter73@gmail.com>
显示
- src/Servers/Kestrel/Core/src/Internal/Http/Http1OutputProducer.cs 46 个添加, 4 个删除...ers/Kestrel/Core/src/Internal/Http/Http1OutputProducer.cs
- src/Servers/Kestrel/Core/src/Internal/Http2/Http2OutputProducer.cs 45 个添加, 4 个删除...rs/Kestrel/Core/src/Internal/Http2/Http2OutputProducer.cs
- src/Servers/Kestrel/Core/src/Internal/Http3/Http3OutputProducer.cs 45 个添加, 4 个删除...rs/Kestrel/Core/src/Internal/Http3/Http3OutputProducer.cs
- src/Servers/Kestrel/Core/src/Internal/Infrastructure/PipeWriterHelpers/ConcurrentPipeWriter.cs 4 个添加, 4 个删除.../Infrastructure/PipeWriterHelpers/ConcurrentPipeWriter.cs
- src/Servers/Kestrel/Core/test/Http1OutputProducerTests.cs 85 个添加, 2 个删除src/Servers/Kestrel/Core/test/Http1OutputProducerTests.cs
- src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2StreamTests.cs 48 个添加, 0 个删除...l/test/InMemory.FunctionalTests/Http2/Http2StreamTests.cs
- src/Servers/Kestrel/test/InMemory.FunctionalTests/Http3/Http3StreamTests.cs 25 个添加, 0 个删除...l/test/InMemory.FunctionalTests/Http3/Http3StreamTests.cs
加载中
想要评论请 注册 或 登录