]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
kr_zonecut_add(): allow not checking for duplicates hints-huge
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 9 Mar 2020 14:10:24 +0000 (15:10 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 10 Mar 2020 12:10:38 +0000 (13:10 +0100)
commit162c10edd528f4ac42ccecf199348507adc0a648
tree831792cb7cd554501185e28c1d9e562c1eb9b292
parent1eb8507186bdadbf65bab0871093cd1fdeab2ead
kr_zonecut_add(): allow not checking for duplicates

Large block-lists in hints will end up in keeping a huge reverse map
for some IP address(es), and our simple duplicate-checking algorithm
can't handle that efficiently.  The duplicate checking in hints seems
better removed, so that add-del pairs work well in that case.
NEWS
daemon/engine.c
daemon/lua/kres-gen.lua
doc/upgrading.rst
lib/layer/iterate.c
lib/test_zonecut.c
lib/zonecut.c
lib/zonecut.h
modules/hints/hints.c
modules/priming/priming.lua