summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFrantisek Tobias <frantisek.tobias@nic.cz>2024-08-19 17:16:38 +0200
committerVladimír Čunát <vladimir.cunat@nic.cz>2024-08-19 17:16:38 +0200
commitb905135b48b64e034c1ea83cc9e759654b3aa2b3 (patch)
tree9a795530576928cb32024695b804fa9456431bf8 /lib
parentMerge !1588: validator: avoid clearing EDE if request didn't actually fail (diff)
downloadknot-resolver-b905135b48b64e034c1ea83cc9e759654b3aa2b3.tar.xz
knot-resolver-b905135b48b64e034c1ea83cc9e759654b3aa2b3.zip
modules/stats: add answer.stale
Diffstat (limited to 'lib')
-rw-r--r--lib/resolve.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/resolve.h b/lib/resolve.h
index 443fef29..cbc20877 100644
--- a/lib/resolve.h
+++ b/lib/resolve.h
@@ -260,6 +260,7 @@ struct kr_request {
ranked_rr_array_t add_selected;
bool answ_validated; /**< internal to validator; beware of caching, etc. */
bool auth_validated; /**< see answ_validated ^^ ; TODO */
+ bool stale_accounted;
/** Overall rank for the request.
*