]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
validate: avoid keeping KR_RANK_MISSING
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 22 May 2017 13:13:19 +0000 (15:13 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 22 May 2017 13:32:39 +0000 (15:32 +0200)
commitd8cd33f81f2ab960143eebc2f472de01ad177420
tree39fde7ee5f72c4f592abfb6e36fba1a45521ed48
parent0cd00388add6d021b03b204ddafa75d747c37e46
validate: avoid keeping KR_RANK_MISSING

If a sub-query transitions the state to QUERY_DNSSEC_INSECURE,
we didn't set correct rank.  This lead to caching with _MISSING rank
which is too low to be utilized on re-queries.  Example: nix.mx query.
NEWS
lib/layer/validate.c