-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00452d5
commit a6a236c
Showing
5 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ encrypt_credentials.go | |
src/anticheat/*credentials* | ||
src/anticheat/key* | ||
dist | ||
fly.io | ||
|
||
Dockertrigger | ||
!/**/.gitkeep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
this patch is needed in order to run servers on fly.io. due to their anycast setup, they tunnel and encrypt the UDP traffic. | ||
see https://fly.io/docs/app-guides/udp-and-tcp/#you-might-need-to-be-mindful-of-mtus | ||
|
||
diff --git src/enet/include/enet/enet.h src/enet/include/enet/enet.h | ||
index fc45cbd..2246327 100644 | ||
--- src/enet/include/enet/enet.h | ||
+++ src/enet/include/enet/enet.h | ||
@@ -212,7 +212,7 @@ enum | ||
ENET_HOST_RECEIVE_BUFFER_SIZE = 256 * 1024, | ||
ENET_HOST_SEND_BUFFER_SIZE = 256 * 1024, | ||
ENET_HOST_BANDWIDTH_THROTTLE_INTERVAL = 1000, | ||
- ENET_HOST_DEFAULT_MTU = 1400, | ||
+ ENET_HOST_DEFAULT_MTU = 1300, | ||
ENET_HOST_DEFAULT_MAXIMUM_PACKET_SIZE = 32 * 1024 * 1024, | ||
ENET_HOST_DEFAULT_MAXIMUM_WAITING_DATA = 32 * 1024 * 1024, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters