]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Just reconnect for UDP which will start the status checks
authorNick Porter <nick@portercomputing.co.uk>
Fri, 17 Apr 2026 13:16:13 +0000 (14:16 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 17 Apr 2026 13:43:25 +0000 (14:43 +0100)
src/modules/rlm_radius/bio.c

index 71ea5473f2ee76c6257cac404b949684582d9527..3e5d5196cf32fc7667ffa15845f0b0e0fc85eff4 100644 (file)
@@ -1456,6 +1456,14 @@ static bool check_for_zombie(fr_event_list_t *el, trunk_connection_t *tconn, fr_
        trunk_connection_signal_inactive(tconn);
 
        if (h->ctx.inst->status_check) {
+               /*
+                *      If it's UDP, reconnect.  This will start the sending of status checks.
+                */
+               if (h->ctx.inst->fd_config.socket_type == SOCK_DGRAM) {
+                       (void) trunk_connection_requests_requeue(tconn, TRUNK_REQUEST_STATE_ALL, 0, false);
+                       trunk_connection_signal_reconnect(tconn, CONNECTION_FAILED);
+               }
+
                h->status_checking = true;
 
                /*