From: Ralph Dolmans Date: Thu, 3 Aug 2017 15:32:24 +0000 (+0000) Subject: Do not add rrset_bogus and query ratelimiting stats per thread. X-Git-Tag: release-1.6.6rc1~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3de694be05dfa0f724a299857efd4656d4a416e6;p=thirdparty%2Funbound.git Do not add rrset_bogus and query ratelimiting stats per thread. git-svn-id: file:///svn/unbound/trunk@4293 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/stats.c b/daemon/stats.c index 666725263..bdfa8cffa 100644 --- a/daemon/stats.c +++ b/daemon/stats.c @@ -288,8 +288,6 @@ void server_stats_add(struct ub_stats_info* total, struct ub_stats_info* a) total->svr.zero_ttl_responses += a->svr.zero_ttl_responses; total->svr.ans_secure += a->svr.ans_secure; total->svr.ans_bogus += a->svr.ans_bogus; - total->svr.rrset_bogus += a->svr.rrset_bogus; - total->svr.queries_ratelimited += a->svr.queries_ratelimited; total->svr.unwanted_replies += a->svr.unwanted_replies; total->svr.unwanted_queries += a->svr.unwanted_queries; total->svr.tcp_accept_usage += a->svr.tcp_accept_usage; diff --git a/doc/Changelog b/doc/Changelog index 9ad5731a6..bacc3bfd3 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -3,6 +3,8 @@ - Do not reset rrset.bogus stats when called using stats_noreset. - Added stats for queries that have been ratelimited by domain recursion. + - Do not add rrset_bogus and query ratelimiting stats per thread, these + module stats are global. 3 August 2017: Wouter - Fix #1394: mix of serve-expired and response-ip could cause a crash.