aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpsys.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2026-03-17 22:57:20 +0100
committerGitHub Enterprise <[email protected]>2026-03-17 22:57:20 +0100
commitd0d40b36b306236428a764349dbff98d38cf7dbd (patch)
tree2a5511a99eea146b6f7f3632fb3194394e508360 /src/zenhttp/servers/httpsys.cpp
parentSuppressed C5105 when building rpmalloc (#852) (diff)
downloadzen-d0d40b36b306236428a764349dbff98d38cf7dbd.tar.xz
zen-d0d40b36b306236428a764349dbff98d38cf7dbd.zip
zen hub port reuse (#850)
- Feature: Added `--allow-port-probing` option to control whether zenserver searches for a free port on startup (default: true, automatically false when --dedicated is set) - Feature: Added new hub options for controlling provisioned storage server instances: - `--hub-instance-http` - HTTP server implementation for instances (asio/httpsys) - `--hub-instance-http-threads` - Number of HTTP connection threads per instance - `--hub-instance-corelimit` - Limit CPU concurrency per instance - Improvement: Hub now manages a deterministic port pool for provisioned instances allowing reuse of unused ports
Diffstat (limited to 'src/zenhttp/servers/httpsys.cpp')
-rw-r--r--src/zenhttp/servers/httpsys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenhttp/servers/httpsys.cpp b/src/zenhttp/servers/httpsys.cpp
index f8fb1c9be..9fe9a2254 100644
--- a/src/zenhttp/servers/httpsys.cpp
+++ b/src/zenhttp/servers/httpsys.cpp
@@ -1153,7 +1153,7 @@ HttpSysServer::RegisterHttpUrls(int BasePort)
m_BaseUris.clear();
- const bool AllowPortProbing = !m_InitialConfig.IsDedicatedServer;
+ const bool AllowPortProbing = m_InitialConfig.AllowPortProbing;
const bool AllowLocalOnly = !m_InitialConfig.IsDedicatedServer;
int EffectivePort = BasePort;