From: Alan T. DeKok Date: Mon, 23 Aug 2021 20:27:47 +0000 (-0400) Subject: enforce response_window only for synchronous requests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ede3cbfec9b0741ce6d63f2d8d22ed2b6698166b;p=thirdparty%2Ffreeradius-server.git enforce response_window only for synchronous requests --- diff --git a/src/modules/rlm_radius/rlm_radius_udp.c b/src/modules/rlm_radius/rlm_radius_udp.c index a1818afbe2b..6821313e0ee 100644 --- a/src/modules/rlm_radius/rlm_radius_udp.c +++ b/src/modules/rlm_radius/rlm_radius_udp.c @@ -1627,7 +1627,7 @@ static bool check_for_zombie(fr_event_list_t *el, fr_trunk_connection_t *tconn, /* * If we've seen ANY response in the allowed window, then the connection is still alive. */ - if (last_sent && ((last_sent + h->inst->parent->response_window) < now)) return false; + if (h->inst->parent->synchronous && last_sent && ((last_sent + h->inst->parent->response_window) < now)) return false; /* * Mark the connection as inactive, but keep sending