]> git.ipfire.org Git - thirdparty/pdns.git/commit
Add and test support for views in packet cache.
authorMiod Vallat <miod.vallat@powerdns.com>
Thu, 24 Apr 2025 10:19:58 +0000 (12:19 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Mon, 26 May 2025 11:49:12 +0000 (13:49 +0200)
commit8cbdd7045bd2f0ddd51375f8ac9610fa8c2071ae
tree1e2e8ad98e84bcc962a055f6dd8365b699aebf56
parentef64c88869880b33c46123e753571b7051201cf2
Add and test support for views in packet cache.

The packet cache data buckets are now set up in an unordered map
addressed by the view name.

Doing this also makes sure that, if the network configuration of a view
changes, the cache contents are still valid as long as there is no
change in the zones found in that view.
12 files changed:
pdns/auth-main.cc
pdns/auth-packetcache.cc
pdns/auth-packetcache.hh
pdns/auth-primarycommunicator.cc
pdns/auth-zonecache.cc
pdns/dnspacket.hh
pdns/packethandler.cc
pdns/tcpreceiver.cc
pdns/test-iputils_hh.cc
pdns/test-packetcache_cc.cc
pdns/ueberbackend.cc
pdns/ws-auth.cc