]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Apply suggestions from code review 11036/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 29 Nov 2021 09:15:22 +0000 (10:15 +0100)
committerGitHub <noreply@github.com>
Mon, 29 Nov 2021 09:15:22 +0000 (10:15 +0100)
Co-authored-by: Remi Gacogne <github@coredump.fr>
pdns/syncres.cc

index 26cf303a96325d88af79e3c384c22e7f7af58fdb..df1f1bb5002b422baa4742d6f36e298ddfbe2881 100644 (file)
@@ -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)