Skip to content

Commit bf5e426

Browse files
committed
Just reconnect for UDP which will start the status checks
1 parent e8d9508 commit bf5e426

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • src/modules/rlm_radius

src/modules/rlm_radius/bio.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,6 +1456,14 @@ static bool check_for_zombie(fr_event_list_t *el, trunk_connection_t *tconn, fr_
14561456
trunk_connection_signal_inactive(tconn);
14571457

14581458
if (h->ctx.inst->status_check) {
1459+
/*
1460+
* If it's UDP, reconnect. This will start the sending of status checks.
1461+
*/
1462+
if (h->ctx.inst->fd_config.socket_type == SOCK_DGRAM) {
1463+
(void) trunk_connection_requests_requeue(tconn, TRUNK_REQUEST_STATE_ALL, 0, false);
1464+
trunk_connection_signal_reconnect(tconn, CONNECTION_FAILED);
1465+
}
1466+
14591467
h->status_checking = true;
14601468

14611469
/*

0 commit comments

Comments
 (0)