]> 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>
Wed, 9 May 2018 10:53:06 +0000 (12:53 +0200)
commit1bf8d12ac362eadfc88567e050cc0ef3805ef355
treef6bcee614ed2b09deb2cc5fa6f90950fd5b5cd92
parented517a9a2c00814b81655d2ae518fdaafb7f063d
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.
pdns/rec-lua-conf.cc
pdns/rpzloader.cc
pdns/rpzloader.hh