]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove name boundary optimization 12141/head
authorAlessio Podda <alessio@isc.org>
Fri, 22 May 2026 15:58:10 +0000 (17:58 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 29 May 2026 07:50:11 +0000 (09:50 +0200)
commit7502e73333943fb45ce0a679aac5ccfce75012aa
treec2e0255f06473f0a0c44971e86070af517921a08
parent5c80876a6d3a92aadb544879bc2fcd69134ff4ca
Remove name boundary optimization

In MR !9740, we introduced an optimization that reduces memory usage
by processing rdatas in batches during AXFR.

The maximum batch size is 128, but the batch size was allowed to grow
beyond that limit if all rdatas in a batch were for the same name, as
that allows a more efficient optimization.

This optimization could theoretically allow the batch size arbitrarily
for a sufficient large zone transfer. Since synthetic tests don't show
any performance improvement from the optimization, this MR removes it.
lib/dns/diff.c
lib/dns/include/dns/diff.h
lib/dns/xfrin.c