From bc3d8928f3370298c8c69aac1730300965dccfa3 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 29 Nov 2021 10:15:22 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Remi Gacogne --- pdns/syncres.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdns/syncres.cc b/pdns/syncres.cc index 26cf303a96..df1f1bb500 100644 --- a/pdns/syncres.cc +++ b/pdns/syncres.cc @@ -678,7 +678,9 @@ LWResult::Result SyncRes::asyncresolveWrapper(const ComboAddress& ip, bool ednsM #define QLOG(x) LOG(prefix << " child=" << child << ": " << x << endl) /* The parameters from rfc9156. */ +/* maximum number of QNAME minimisation iterations */ static const unsigned int s_max_minimise_count = 10; +/* number of queries that should only have one label appended */ static const unsigned int s_minimise_one_lab = 4; static unsigned int qmStepLen(unsigned int labels, unsigned int qnamelen, unsigned int i) -- 2.47.2