diff options
author | Lukáš Ondráček <lukas.ondracek@nic.cz> | 2024-05-28 16:47:17 +0200 |
---|---|---|
committer | Oto Šťáva <oto.stava@nic.cz> | 2024-06-04 17:40:55 +0200 |
commit | 8cc225605540d74860669cbd1baee7809dcae7d4 (patch) | |
tree | 36280acc8cd0b969876e71cb07a59d81b3675429 /modules | |
parent | Merge branch 'master' into 'rrl-wip' (diff) | |
download | knot-resolver-8cc225605540d74860669cbd1baee7809dcae7d4.tar.xz knot-resolver-8cc225605540d74860669cbd1baee7809dcae7d4.zip |
rrl: renaming, movements, create defer protolayer
Diffstat (limited to 'modules')
-rw-r--r-- | modules/policy/policy.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/policy/policy.lua b/modules/policy/policy.lua index 10755556..bf796a6d 100644 --- a/modules/policy/policy.lua +++ b/modules/policy/policy.lua @@ -937,7 +937,7 @@ policy.layer = { loadstring('return ' .. act_str)()(state, req) end - if ffi.C.kr_rrl_request_begin(req) then return end + if ffi.C.ratelimiting_request_begin(req) then return end local qry = req:initial() -- same as :current() but more descriptive return policy.evaluate(policy.rules, req, qry, state) |