aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-13 22:31:57 +0100
committerGitHub Enterprise <[email protected]>2026-03-13 22:31:57 +0100
commiteee6a326529e2b84b50f5329e5ce563a69bb22e7 (patch)
treef1b6737e70fa6fc40eb39efbf14fd19f52d089bf /src/zenhttp/httpserver.cpp
parentMerge branch 'main' into sb/compute-scheduler (diff)
parentMade CPR optional, html generated at build time (#840) (diff)
downloadzen-eee6a326529e2b84b50f5329e5ce563a69bb22e7.tar.xz
zen-eee6a326529e2b84b50f5329e5ce563a69bb22e7.zip
Merge branch 'main' into sb/compute-scheduler
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 6ba0ca563..672467f56 100644
--- a/src/zenhttp/httpserver.cpp
+++ b/src/zenhttp/httpserver.cpp
@@ -2,6 +2,8 @@
#include <zenhttp/httpserver.h>
+#include <zencore/filesystem.h>
+
#include "servers/httpasio.h"
#include "servers/httpmulti.h"
#include "servers/httpnull.h"
@@ -1157,7 +1159,7 @@ CreateHttpServerClass(const std::string_view ServerClass, const HttpServerConfig
ZEN_INFO("using asio HTTP server implementation")
return CreateHttpAsioServer(AsioConfig {
.ThreadCount = Config.ThreadCount, .ForceLoopback = Config.ForceLoopback, .IsDedicatedServer = Config.IsDedicatedServer,
- .NoNetwork = Config.NoNetwork, .UnixSocketPath = Config.UnixSocketPath,
+ .NoNetwork = Config.NoNetwork, .UnixSocketPath = PathToUtf8(Config.UnixSocketPath),
#if ZEN_USE_OPENSSL
.HttpsPort = Config.HttpsPort, .CertFile = Config.CertFile, .KeyFile = Config.KeyFile,
#endif