aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-02-20 14:43:32 +0100
committerStefan Boberg <[email protected]>2026-02-20 14:43:32 +0100
commitc7d033755c1566f7908e3a66bced6b3c3d062d70 (patch)
treee0c46b7fcd5599720a9194830b2c229bc6738dd3 /src/zenhttp/httpserver.cpp
parentupdate .gitignore to exclude .claude/ (diff)
downloadzen-c7d033755c1566f7908e3a66bced6b3c3d062d70.tar.xz
zen-c7d033755c1566f7908e3a66bced6b3c3d062d70.zip
added new I/O thread pool implementation
the new variant manages a dynamically growing/shrinking set of threads manually instead of relying on the built-in Windows thread pool the benefit of this is that we're in charge of setup and teardown so can make better guarantees about lifetimes of threads which can help with shutdown issues
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
-rw-r--r--src/zenhttp/httpserver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zenhttp/httpserver.cpp b/src/zenhttp/httpserver.cpp
index f2fe4738f..761665c30 100644
--- a/src/zenhttp/httpserver.cpp
+++ b/src/zenhttp/httpserver.cpp
@@ -1095,7 +1095,8 @@ CreateHttpServerClass(const std::string_view ServerClass, const HttpServerConfig
.IsAsyncResponseEnabled = Config.HttpSys.IsAsyncResponseEnabled,
.IsRequestLoggingEnabled = Config.HttpSys.IsRequestLoggingEnabled,
.IsDedicatedServer = Config.IsDedicatedServer,
- .ForceLoopback = Config.ForceLoopback}));
+ .ForceLoopback = Config.ForceLoopback,
+ .UseExplicitIoThreadPool = Config.HttpSys.UseExplicitIoThreadPool}));
}
#endif
else if (ServerClass == "null"sv)