]> git.ipfire.org Git - thirdparty/pdns.git/commit
There are certain situations in which getAuth() may want to be overridden by a
authorMark Zealey <mark@markandruth.co.uk>
Mon, 2 Dec 2013 08:18:42 +0000 (10:18 +0200)
committerMark Zealey <mark@markandruth.co.uk>
Mon, 6 Jan 2014 09:02:20 +0000 (11:02 +0200)
commitc14bc34ac0ce511248e2daf3b8ac7ed91ffbcbbf
treec6c9a3277bc64b8ea50c56c489fb3bb22676255a
parent5c5a2e4cb2382da1fdffe5eef00ee2289d3cd895
There are certain situations in which getAuth() may want to be overridden by a
backend for performance reasons. The attached patch converts getAuth() into a
virtual backend function. The default is for no change in functionality. In my
tests this leads to very significant performance improvements under certain
situations

fixes PowerDNS/pdns#581
pdns/dnsbackend.cc
pdns/dnsbackend.hh
pdns/packethandler.cc
pdns/packethandler.hh
pdns/ueberbackend.cc
pdns/ueberbackend.hh
regression-tests/bind-add-zone/expected_result.bind