aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
-rw-r--r--src/zenhttp/httpserver.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/zenhttp/httpserver.cpp b/src/zenhttp/httpserver.cpp
index b28682375..1357f1b9b 100644
--- a/src/zenhttp/httpserver.cpp
+++ b/src/zenhttp/httpserver.cpp
@@ -1012,7 +1012,9 @@ CreateHttpServerClass(const std::string_view ServerClass, const HttpServerConfig
if (ServerClass == "asio"sv)
{
ZEN_INFO("using asio HTTP server implementation")
- return CreateHttpAsioServer(Config.ForceLoopback, Config.ThreadCount);
+ return CreateHttpAsioServer(AsioConfig{.ThreadCount = Config.ThreadCount,
+ .ForceLoopback = Config.ForceLoopback,
+ .IsDedicatedServer = Config.IsDedicatedServer});
}
#if ZEN_WITH_HTTPSYS
else if (ServerClass == "httpsys"sv)