Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Fowler <davidfowl@gmail.com>2022-09-13 01:53:10 +0300
committerGitHub <noreply@github.com>2022-09-13 01:53:10 +0300
commit269301b25e30a0faca565d1b6138525457fd2b2a (patch)
treec30873b9b991f2ce01ccbfd3d05d176454f31b70
parentdf4b4179e8d8d62240dc371f9c5b44838fcac6f8 (diff)
Update src/Servers/Kestrel/Transport.Sockets/src/SocketConnectionContextFactory.csdavidfowl/fix-dispatch
Co-authored-by: Aditya Mandaleeka <adityamandaleeka@users.noreply.github.com>
-rw-r--r--src/Servers/Kestrel/Transport.Sockets/src/SocketConnectionContextFactory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Servers/Kestrel/Transport.Sockets/src/SocketConnectionContextFactory.cs b/src/Servers/Kestrel/Transport.Sockets/src/SocketConnectionContextFactory.cs
index aa76846c83..4029ddc022 100644
--- a/src/Servers/Kestrel/Transport.Sockets/src/SocketConnectionContextFactory.cs
+++ b/src/Servers/Kestrel/Transport.Sockets/src/SocketConnectionContextFactory.cs
@@ -48,7 +48,7 @@ public sealed class SocketConnectionContextFactory : IDisposable
var maxWriteBufferSize = _options.MaxWriteBufferSize ?? 0;
var applicationScheduler = options.UnsafePreferInlineScheduling ? PipeScheduler.Inline : PipeScheduler.ThreadPool;
- // Socket callbacks run on the threads polling for IO if we're using the old thread windows thread pool
+ // Socket callbacks run on the threads polling for IO if we're using the old Windows thread pool
var dispatchSocketCallbacks = OperatingSystem.IsWindows() &&
(Environment.GetEnvironmentVariable("DOTNET_ThreadPool_UsePortableThreadPoolForIO") == "0" ||
Environment.GetEnvironmentVariable("COMPlus_ThreadPool_UsePortableThreadPoolForIO") == "0");