aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpsys.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-11-09 20:50:46 +0100
committerGitHub <[email protected]>2023-11-09 20:50:46 +0100
commitc289d408765fe47d54987bd49fcf277f2419104a (patch)
treed76ac1fae0a2413f080c4ecfb0e7f281ed50f271 /src/zenhttp/servers/httpsys.h
parent0.2.31-pre1 (diff)
downloadzen-c289d408765fe47d54987bd49fcf277f2419104a.tar.xz
zen-c289d408765fe47d54987bd49fcf277f2419104a.zip
option for zenserver - `--http-forceloopback` (#516)
* New option for zenserver - `--http-forceloopback` which forces opening of the server http server using loopback (local) connection (UE-199776) * add fallback to local connection for asio if we get access denied on public port
Diffstat (limited to 'src/zenhttp/servers/httpsys.h')
-rw-r--r--src/zenhttp/servers/httpsys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenhttp/servers/httpsys.h b/src/zenhttp/servers/httpsys.h
index 6a6b16525..b2fe7475b 100644
--- a/src/zenhttp/servers/httpsys.h
+++ b/src/zenhttp/servers/httpsys.h
@@ -21,6 +21,7 @@ struct HttpSysConfig
bool IsAsyncResponseEnabled = true;
bool IsRequestLoggingEnabled = false;
bool IsDedicatedServer = false;
+ bool ForceLoopback = false;
};
Ref<HttpServer> CreateHttpSysServer(HttpSysConfig Config);