]> granicus.if.org Git - pdns/commit
rec: Delay RPZ threads creation until the Lua config has been parsed
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 9 May 2018 10:53:06 +0000 (12:53 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 15 May 2018 12:59:13 +0000 (14:59 +0200)
commit3139425435752a7fcc3641f571e3a84004951eb7
tree24dc98c81a296645073c6d40103734bbdce7e1e7
parentcb0038f9eaf02b12605006e8e7a986dc2ccd43e6
rec: Delay RPZ threads creation until the Lua config has been parsed

Otherwise if the parsing of the remaining Lua directives takes longer
than the AXFR, our zone content will be replaced by an empty zone
once the parsing finishes.

(cherry picked from commit 1bf8d12ac362eadfc88567e050cc0ef3805ef355)
pdns/rec-lua-conf.cc
pdns/rpzloader.cc
pdns/rpzloader.hh