Skip to content

Commit c0c63d4

Browse files
committed
inline
1 parent 6764c5b commit c0c63d4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Servers/Kestrel/Core/src/Adapter/Internal/AdaptedPipeline.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.IO;
66
using System.IO.Pipelines;
77
using System.Threading.Tasks;
8-
using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure;
98
using Microsoft.Extensions.Logging;
109

1110
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Adapter.Internal

src/Servers/Kestrel/Core/src/Internal/HttpsConnectionMiddleware.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ private async Task InnerOnConnectionAsync(ConnectionContext context)
205205
(
206206
pool: memoryPoolFeature.MemoryPool,
207207
readerScheduler: _options.Scheduler,
208-
writerScheduler: _options.Scheduler,
208+
writerScheduler: PipeScheduler.Inline,
209209
pauseWriterThreshold: _options.MaxInputBufferSize ?? 0,
210210
resumeWriterThreshold: _options.MaxInputBufferSize / 2 ?? 0,
211211
useSynchronizationContext: false,
@@ -215,8 +215,8 @@ private async Task InnerOnConnectionAsync(ConnectionContext context)
215215
var outputPipeOptions = new PipeOptions
216216
(
217217
pool: memoryPoolFeature.MemoryPool,
218-
readerScheduler: _options.Scheduler,
219-
writerScheduler: _options.Scheduler,
218+
readerScheduler: PipeScheduler.Inline,
219+
writerScheduler: PipeScheduler.Inline,
220220
pauseWriterThreshold: _options.MaxOutputBufferSize ?? 0,
221221
resumeWriterThreshold: _options.MaxOutputBufferSize / 2 ?? 0,
222222
useSynchronizationContext: false,

0 commit comments

Comments
 (0)