From 8cc225605540d74860669cbd1baee7809dcae7d4 Mon Sep 17 00:00:00 2001 From: Lukáš Ondráček Date: Tue, 28 May 2024 16:47:17 +0200 Subject: rrl: renaming, movements, create defer protolayer --- modules/policy/policy.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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) -- cgit v1.2.3