From 5f6306d5e56f5ab672132214cfcb9799f3d757c2 Mon Sep 17 00:00:00 2001 From: Tetsuo Sugiyama Date: Tue, 17 Nov 2020 12:23:14 +0900 Subject: [PATCH] Fixed setting change trigger of keepalive function To solve the problem that the escape condition of the loop that tries name resolution in UDP mode was reversed in the keep-alive function of the Internet connection, so the name resolution retry is set to 250 msec interval instead of the normal 60 second interval. --- src/Cedar/Connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cedar/Connection.c b/src/Cedar/Connection.c index 8ae23095..64d0e01a 100644 --- a/src/Cedar/Connection.c +++ b/src/Cedar/Connection.c @@ -337,7 +337,7 @@ WAIT_FOR_ENABLE: { if (StrCmpi(k->ServerName, server_name) != 0 || k->ServerPort != server_port || k->Enable == false || - k->UdpMode) + k->UdpMode == false) { changed = true; }