On Saturday 03 July 2010, Ovidiu Sas wrote:
modules_k: ratelimit - removing rl_drop
functionality
- rl_drop is now obsolete: same functionality can be
achieved by invoking:
append_to_reply("Retry-After: 5\r\n");
sl_send_reply("503","Limiting");
Hi Ovidiu,
if you like to achive the existing functionality of rl_drop with a random
Retry-After, you additionally need to use the $RANDOM PV with from cfgutils
with e.g. a modulo operation in the script.