From: Gert Doering Date: Sun, 18 May 2025 19:23:23 +0200 Message-ID: <20250518172329.21239-1-gert@...1296...> In-Reply-To: References: MIME-Version: 1.0 Subject: [Openvpn-devel] [PATCH v2] Explicit-exit-notify and multisocket interaction List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net From: Gianmarco De Gregori 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 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/917 This mail reflects revision 2 of this Change. Acked-by according to Gerrit (reflected above): Gert Doering diff --git a/src/openvpn/multi.c b/src/openvpn/multi.c index a673ec1..8e2c4d4 100644 --- a/src/openvpn/multi.c +++ b/src/openvpn/multi.c @@ -4265,13 +4265,13 @@ { /* 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(); } }