From d0d40b36b306236428a764349dbff98d38cf7dbd Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Tue, 17 Mar 2026 22:57:20 +0100 Subject: 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 --- src/zenhttp/servers/httpsys.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/zenhttp/servers/httpsys.h') diff --git a/src/zenhttp/servers/httpsys.h b/src/zenhttp/servers/httpsys.h index ca465ad00..88ec13834 100644 --- a/src/zenhttp/servers/httpsys.h +++ b/src/zenhttp/servers/httpsys.h @@ -22,6 +22,7 @@ struct HttpSysConfig bool IsRequestLoggingEnabled = false; bool IsDedicatedServer = false; bool ForceLoopback = false; + bool AllowPortProbing = true; int HttpsPort = 0; // 0 = HTTPS disabled std::string CertThumbprint; // Hex SHA-1 (40 chars) for auto SSL binding std::string CertStoreName = "MY"; // Windows certificate store name -- cgit v1.2.3