aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-10-11 10:43:11 +0200
committerGitHub <[email protected]>2023-10-11 10:43:11 +0200
commitb124b83b31f368231fa417213e9ecf7df69b2d33 (patch)
tree6674550ae05d08d474d629d6790ecdb1e1782fda /src/zenhttp/httpserver.cpp
parentupdated plugin API class names (#462) (diff)
downloadzen-b124b83b31f368231fa417213e9ecf7df69b2d33.tar.xz
zen-b124b83b31f368231fa417213e9ecf7df69b2d33.zip
hide HttpAsioServer interface behind factory function (#463)
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
-rw-r--r--src/zenhttp/httpserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenhttp/httpserver.cpp b/src/zenhttp/httpserver.cpp
index 3713d2a44..f22438a58 100644
--- a/src/zenhttp/httpserver.cpp
+++ b/src/zenhttp/httpserver.cpp
@@ -757,7 +757,7 @@ CreateHttpServer(const HttpServerConfig& Config)
default:
case HttpServerClass::kHttpAsio:
ZEN_INFO("using asio HTTP server implementation");
- return Ref<HttpServer>(new HttpAsioServer(Config.ThreadCount));
+ return CreateHttpAsioServer(Config.ThreadCount);
#if ZEN_WITH_PLUGINS
case HttpServerClass::kHttpPlugin: