diff options
author | Lukáš Ondráček <lukas.ondracek@nic.cz> | 2024-05-06 17:32:45 +0200 |
---|---|---|
committer | Lukáš Ondráček <lukas.ondracek@nic.cz> | 2024-05-06 17:32:45 +0200 |
commit | 9835bd32b3ee1dd24aa3711f25e29eb846163ddc (patch) | |
tree | 33cd58f3431b30b728b17276a144e0fa1062a96f /daemon/lua | |
parent | rrl nit: factor out using_avx() (diff) | |
download | knot-resolver-9835bd32b3ee1dd24aa3711f25e29eb846163ddc.tar.xz knot-resolver-9835bd32b3ee1dd24aa3711f25e29eb846163ddc.zip |
rrl: truncating answers when close to limit, dropping over limit
Diffstat (limited to 'daemon/lua')
-rw-r--r-- | daemon/lua/kres-gen-30.lua | 2 | ||||
-rw-r--r-- | daemon/lua/kres-gen-31.lua | 2 | ||||
-rw-r--r-- | daemon/lua/kres-gen-32.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/daemon/lua/kres-gen-30.lua b/daemon/lua/kres-gen-30.lua index 937453e9..9401279e 100644 --- a/daemon/lua/kres-gen-30.lua +++ b/daemon/lua/kres-gen-30.lua @@ -580,7 +580,7 @@ knot_pkt_t *worker_resolve_mk_pkt(const char *, uint16_t, uint16_t, const struct struct qr_task *worker_resolve_start(knot_pkt_t *, struct kr_qflags); int zi_zone_import(const zi_config_t); _Bool kr_rrl_request_begin(struct kr_request *); -void kr_rrl_init(const char *, size_t, uint32_t, uint32_t); +void kr_rrl_init(const char *, size_t, uint32_t, uint32_t, int); struct engine { char _stub[]; }; diff --git a/daemon/lua/kres-gen-31.lua b/daemon/lua/kres-gen-31.lua index a8e17938..a8b14626 100644 --- a/daemon/lua/kres-gen-31.lua +++ b/daemon/lua/kres-gen-31.lua @@ -580,7 +580,7 @@ knot_pkt_t *worker_resolve_mk_pkt(const char *, uint16_t, uint16_t, const struct struct qr_task *worker_resolve_start(knot_pkt_t *, struct kr_qflags); int zi_zone_import(const zi_config_t); _Bool kr_rrl_request_begin(struct kr_request *); -void kr_rrl_init(const char *, size_t, uint32_t, uint32_t); +void kr_rrl_init(const char *, size_t, uint32_t, uint32_t, int); struct engine { char _stub[]; }; diff --git a/daemon/lua/kres-gen-32.lua b/daemon/lua/kres-gen-32.lua index 54be1b0b..7cbf817a 100644 --- a/daemon/lua/kres-gen-32.lua +++ b/daemon/lua/kres-gen-32.lua @@ -581,7 +581,7 @@ knot_pkt_t *worker_resolve_mk_pkt(const char *, uint16_t, uint16_t, const struct struct qr_task *worker_resolve_start(knot_pkt_t *, struct kr_qflags); int zi_zone_import(const zi_config_t); _Bool kr_rrl_request_begin(struct kr_request *); -void kr_rrl_init(const char *, size_t, uint32_t, uint32_t); +void kr_rrl_init(const char *, size_t, uint32_t, uint32_t, int); struct engine { char _stub[]; }; |