]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-transaction.c
resolved: rework how and when the number of answer RRs to cache is determined
authorLennart Poettering <lennart@poettering.net>
Fri, 11 Dec 2015 12:36:25 +0000 (13:36 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 11 Dec 2015 13:14:27 +0000 (14:14 +0100)
commit79e249313887840e0fc52f69afc0daeed754bff1
tree2b0325b8d306922b0da768b288066170ebc224d1
parentc463eb783e5ad999d400180c69b912c54fa07ee1
resolved: rework how and when the number of answer RRs to cache is determined

Instead of figuring out how many RRs to cache right before we do so,
determine this at the time we install the answer RRs, so that we can
still alter this as we manipulate the answer during validation.

The primary purpose of this is to pave the way so that we can drop
unsigned RRsets from the answer and invalidate the number of RRs to
cache at the same time.
src/resolve/resolved-dns-transaction.c
src/resolve/resolved-dns-transaction.h