Skip to content

Commit 9bbf284

Browse files
committed
change lower_limit for reject_delay to 0.5s.
Some equipment is known to retry aggressively if the timeout is about 1s
1 parent ab72e85 commit 9bbf284

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

raddb/radiusd.conf.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,9 +599,12 @@ security {
599599
# rejects will be sent at 'cleanup_delay' time, when the request
600600
# is deleted from the internal cache of requests.
601601
#
602+
# Some equipment is known to retry aggressively if the delay is about
603+
# one second.
604+
#
602605
# This number can be a decimal, e.g. 3.4
603606
#
604-
# Useful ranges: 1 to 5
607+
# Useful ranges: 0.5 to 5
605608
reject_delay = 1
606609

607610
#

src/main/mainconfig.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ do {\
12181218
* reject_delay can be zero. OR 1 though 10.
12191219
*/
12201220
if ((main_config.reject_delay.tv_sec != 0) || (main_config.reject_delay.tv_usec != 0)) {
1221-
FR_TIMEVAL_BOUND_CHECK("reject_delay", &main_config.reject_delay, >=, 1, 0);
1221+
FR_TIMEVAL_BOUND_CHECK("reject_delay", &main_config.reject_delay, >=, 0, USEC / 2);
12221222
}
12231223

12241224
FR_INTEGER_BOUND_CHECK("proxy_dedup_window", main_config.proxy_dedup_window, <=, 10);

0 commit comments

Comments
 (0)