From c8828d586c7e3e18175db7bf4fc1fba299bdcd2e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 4 Jul 2023 15:03:01 -0500 Subject: [PATCH] Don't send periodic pings as reliable traffic --- src/ControlStream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ControlStream.c b/src/ControlStream.c index 5caee01..fed910c 100644 --- a/src/ControlStream.c +++ b/src/ControlStream.c @@ -1137,7 +1137,7 @@ static void lossStatsThreadFunc(void* context) { sizeof(periodicPingPayload), periodicPingPayload, CTRL_CHANNEL_GENERIC, - ENET_PACKET_FLAG_RELIABLE)) { + 0)) { Limelog("Loss Stats: Transaction failed: %d\n", (int)LastSocketError()); ListenerCallbacks.connectionTerminated(LastSocketFail()); return;