]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: update condition for caching full packets
authorRonan Pigott <ronan@rjp.ie>
Sat, 12 Oct 2024 17:00:56 +0000 (10:00 -0700)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 13 Nov 2024 19:48:10 +0000 (19:48 +0000)
commit2a7dbbbfa2578d41fe369a40f957ed3f0a3f6a56
treebc92082274735664b451f1445b203f3371bf1406
parentbe6c7b79141f248e7d7d94703c660c9fa8b9fb3f
resolved: update condition for caching full packets

Previously a full packet was cached only if the CD bit was set, but this
no longer corresponds to the cases where bypass is enabled.

Update the cache to retain a full packet in the cases where it might
actually be useful.

(cherry picked from commit fa02d04ee9a4787c2c39032185b6fe3e7146b26b)
src/resolve/resolved-dns-transaction.c