aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/config.h
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-10-04 13:13:23 +0200
committerGitHub <[email protected]>2023-10-04 13:13:23 +0200
commit3e8db7cd243e8be3b2d5fea2490b9ad70f765590 (patch)
treec1533ae25b0b717dd2393960c5449aadd56807c4 /src/zenserver/config.h
parentfactored out http parser from asio into separate files (#444) (diff)
downloadzen-3e8db7cd243e8be3b2d5fea2490b9ad70f765590.tar.xz
zen-3e8db7cd243e8be3b2d5fea2490b9ad70f765590.zip
removed websocket protocol support(#445)
removed websocket support since it is not used right now and is unlikely to be used in the future
Diffstat (limited to 'src/zenserver/config.h')
-rw-r--r--src/zenserver/config.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/zenserver/config.h b/src/zenserver/config.h
index 924375a19..df1ccb752 100644
--- a/src/zenserver/config.h
+++ b/src/zenserver/config.h
@@ -134,18 +134,16 @@ struct ZenServerOptions
ZenObjectStoreConfig ObjectStoreConfig;
zen::HttpServerConfig HttpServerConfig;
ZenStructuredCacheConfig StructuredCacheConfig;
- std::filesystem::path DataDir; // Root directory for state (used for testing)
- std::filesystem::path ContentDir; // Root directory for serving frontend content (experimental)
- std::filesystem::path AbsLogFile; // Absolute path to main log file
- std::filesystem::path ConfigFile; // Path to Lua config file
- std::string ChildId; // Id assigned by parent process (used for lifetime management)
- std::string LogId; // Id for tagging log output
- std::string EncryptionKey; // 256 bit AES encryption key
- std::string EncryptionIV; // 128 bit AES initialization vector
- int BasePort = 1337; // Service listen port (used for both UDP and TCP)
- int OwnerPid = 0; // Parent process id (zero for standalone)
- int WebSocketPort = 0; // Web socket port (Zero = disabled)
- int WebSocketThreads = 0;
+ std::filesystem::path DataDir; // Root directory for state (used for testing)
+ std::filesystem::path ContentDir; // Root directory for serving frontend content (experimental)
+ std::filesystem::path AbsLogFile; // Absolute path to main log file
+ std::filesystem::path ConfigFile; // Path to Lua config file
+ std::string ChildId; // Id assigned by parent process (used for lifetime management)
+ std::string LogId; // Id for tagging log output
+ std::string EncryptionKey; // 256 bit AES encryption key
+ std::string EncryptionIV; // 128 bit AES initialization vector
+ int BasePort = 1337; // Service listen port (used for both UDP and TCP)
+ int OwnerPid = 0; // Parent process id (zero for standalone)
bool InstallService = false; // Flag used to initiate service install (temporary)
bool UninstallService = false; // Flag used to initiate service uninstall (temporary)
bool IsDebug = false;