From 565d7cf48120d4394258fc3f2aa1b710315cd4e9 Mon Sep 17 00:00:00 2001 From: Gianmarco De Gregori Date: Sun, 18 May 2025 19:23:23 +0200 Subject: [PATCH] Explicit-exit-notify and multisocket interaction Check signals after timeout handling to avoid unusual delay when using explicit-exit-notify. Github: fixes OpenVPN/openvpn#702 Change-Id: Id9dbb4d3c550bd4c13f6ee97e67749686457d9fc Signed-off-by: Gianmarco De Gregori Acked-by: Gert Doering Message-Id: <20250518172329.21239-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg31688.html Signed-off-by: Gert Doering --- src/openvpn/multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/multi.c b/src/openvpn/multi.c index a2d3fd106..80dd0c041 100644 --- a/src/openvpn/multi.c +++ b/src/openvpn/multi.c @@ -4271,13 +4271,13 @@ tunnel_server_loop(struct multi_context *multi) { /* process the I/O which triggered select */ multi_io_process_io(multi); - MULTI_CHECK_SIG(multi); } else if (status == 0) { multi_io_action(multi, NULL, TA_TIMEOUT, false); } + MULTI_CHECK_SIG(multi); perf_pop(); } } -- 2.47.3