aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpasio.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/httpasio.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/httpasio.h')
-rw-r--r--src/zenhttp/servers/httpasio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenhttp/servers/httpasio.h b/src/zenhttp/servers/httpasio.h
index 2366f3437..36f988a65 100644
--- a/src/zenhttp/servers/httpasio.h
+++ b/src/zenhttp/servers/httpasio.h
@@ -6,6 +6,6 @@
namespace zen {
-Ref<HttpServer> CreateHttpAsioServer(unsigned int ThreadCount);
+Ref<HttpServer> CreateHttpAsioServer(bool ForceLoopback, unsigned int ThreadCount);
} // namespace zen