diff options
| author | Dan Engelbrecht <[email protected]> | 2023-11-09 20:50:46 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-09 20:50:46 +0100 |
| commit | c289d408765fe47d54987bd49fcf277f2419104a (patch) | |
| tree | d76ac1fae0a2413f080c4ecfb0e7f281ed50f271 /src/zenhttp/include | |
| parent | 0.2.31-pre1 (diff) | |
| download | zen-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/include')
| -rw-r--r-- | src/zenhttp/include/zenhttp/httpserver.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zenhttp/include/zenhttp/httpserver.h b/src/zenhttp/include/zenhttp/httpserver.h index 5d01e380a..eabad4728 100644 --- a/src/zenhttp/include/zenhttp/httpserver.h +++ b/src/zenhttp/include/zenhttp/httpserver.h @@ -186,7 +186,8 @@ struct HttpServerConfig { bool IsDedicatedServer = false; // Should be set to true for shared servers std::string ServerClass; // Choice of HTTP server implementation - unsigned int ThreadCount = 0; + bool ForceLoopback = false; + unsigned int ThreadCount = 0; struct { |