aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-09 19:47:17 +0100
committerStefan Boberg <[email protected]>2026-03-09 19:47:17 +0100
commit71ce7473fb524ec309c7d7417faefcb7289ae969 (patch)
treec8da905bb5b90cd729f296ea9b1a45fd2a8f8572 /src/zenhttp/httpserver.cpp
parentfixed up for merge from main which changed a bunch of logging stuff (diff)
downloadzen-71ce7473fb524ec309c7d7417faefcb7289ae969.tar.xz
zen-71ce7473fb524ec309c7d7417faefcb7289ae969.zip
added support in httpasio for Unix domain sockets
tested on Linux, but should also work on Windows
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 d798c46d9..bbb7cd695 100644
--- a/src/zenhttp/httpserver.cpp
+++ b/src/zenhttp/httpserver.cpp
@@ -1120,7 +1120,8 @@ 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});
+ .IsDedicatedServer = Config.IsDedicatedServer,
+ .UnixSocketPath = Config.UnixSocketPath});
}
#if ZEN_WITH_HTTPSYS
else if (ServerClass == "httpsys"sv)