aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp
diff options
context:
space:
mode:
authorzousar <[email protected]>2023-10-12 08:37:41 -0600
committerGitHub <[email protected]>2023-10-12 08:37:41 -0600
commitc2310e7f9f1ffd60184ad9b5e4ae79d34122e6a6 (patch)
treeff3514b444bc6943e2668f8f145bf1c9b00556fc /src/zenhttp
parentUpdate README.md (diff)
parentMerge remote-tracking branch 'origin/main' into zs/default-port-change (diff)
downloadzen-c2310e7f9f1ffd60184ad9b5e4ae79d34122e6a6.tar.xz
zen-c2310e7f9f1ffd60184ad9b5e4ae79d34122e6a6.zip
Merge pull request #465 from EpicGames/zs/default-port-change
Change default port to 8558
Diffstat (limited to 'src/zenhttp')
-rw-r--r--src/zenhttp/httpserver.cpp6
-rw-r--r--src/zenhttp/httpsys.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/zenhttp/httpserver.cpp b/src/zenhttp/httpserver.cpp
index eb13f77fc..7ea7cf91d 100644
--- a/src/zenhttp/httpserver.cpp
+++ b/src/zenhttp/httpserver.cpp
@@ -767,17 +767,17 @@ CreateHttpServer(const HttpServerConfig& Config)
Ref<HttpPluginServer> Server{new HttpPluginServer(Config.ThreadCount)};
# if 1
- Ref<TransportPlugin> WinsockPlugin{CreateSocketTransportPlugin(1337, Config.ThreadCount)};
+ Ref<TransportPlugin> WinsockPlugin{CreateSocketTransportPlugin(8558, Config.ThreadCount)};
Server->AddPlugin(WinsockPlugin);
# endif
# if 0
- Ref<TransportPlugin> AsioPlugin{CreateAsioTransportPlugin(1337, Config.ThreadCount)};
+ Ref<TransportPlugin> AsioPlugin{CreateAsioTransportPlugin(8558, Config.ThreadCount)};
Server->AddPlugin(AsioPlugin);
# endif
# if 0
- Ref<DllTransportPlugin> DllPlugin{new DllTransportPlugin(1337, Config.ThreadCount)};
+ Ref<DllTransportPlugin> DllPlugin{new DllTransportPlugin(8558, Config.ThreadCount)};
DllPlugin->LoadDll("winsock");
Server->AddPlugin(DllPlugin);
# endif
diff --git a/src/zenhttp/httpsys.cpp b/src/zenhttp/httpsys.cpp
index 75d8bfe7a..c1b4717cb 100644
--- a/src/zenhttp/httpsys.cpp
+++ b/src/zenhttp/httpsys.cpp
@@ -1026,7 +1026,7 @@ HttpSysServer::InitializeServer(int BasePort)
// remote origin requests to function. This can be remedied by using netsh
// during an install process to grant permissions to route public access to the appropriate
// port for the current user. eg:
- // netsh http add urlacl url=http://*:1337/ user=<some_user>
+ // netsh http add urlacl url=http://*:8558/ user=<some_user>
ZEN_WARN("Unable to register handler using '{}' - falling back to local-only", WideToUtf8(WildcardUrlPath));