]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
when shutdown fails, enter failed state, not closed state
authorAlan T. DeKok <aland@freeradius.org>
Mon, 2 Mar 2026 16:15:11 +0000 (11:15 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 2 Mar 2026 16:33:05 +0000 (11:33 -0500)
src/lib/server/connection.c

index a5df0035996d3d1c176c909019654c775ddbb4d2..a38c22eb944d3273d7e2c90830f3e6053b99ec53 100644 (file)
@@ -749,7 +749,7 @@ static void connection_state_enter_shutdown(connection_t *conn)
                         *      Can happen when the event loop is exiting
                         */
                        PERROR("Failed setting connection_timeout timer, closing connection");
-                       connection_state_enter_closed(conn);
+                       connection_state_enter_failed(conn);
                }
        }
 }