diff options
| author | Stefan Boberg <[email protected]> | 2026-03-13 22:31:57 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-03-13 22:31:57 +0100 |
| commit | eee6a326529e2b84b50f5329e5ce563a69bb22e7 (patch) | |
| tree | f1b6737e70fa6fc40eb39efbf14fd19f52d089bf /src/zenhttp/httpserver.cpp | |
| parent | Merge branch 'main' into sb/compute-scheduler (diff) | |
| parent | Made CPR optional, html generated at build time (#840) (diff) | |
| download | zen-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.cpp | 4 |
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 |