From: Nick Porter Date: Thu, 25 Jun 2026 11:11:18 +0000 (+0100) Subject: Don't set connection shutdown timeout if deferred signals have changed state X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e5ce167d6daa6b44de9d09eed0d1a1237e523059;p=thirdparty%2Ffreeradius-server.git Don't set connection shutdown timeout if deferred signals have changed state --- diff --git a/src/lib/server/connection.c b/src/lib/server/connection.c index d513449a687..a26000308af 100644 --- a/src/lib/server/connection.c +++ b/src/lib/server/connection.c @@ -759,6 +759,11 @@ static void connection_state_enter_shutdown(connection_t *conn) } WATCH_POST(conn); + /* + * If a deferred signal changed the connection state, we're done. + */ + if (conn->pub.state != CONNECTION_STATE_SHUTDOWN) return; + /* * If there's a connection timeout, * set, then add the timer.