From: bert hubert Date: Fri, 10 Jun 2016 17:56:03 +0000 (+0200) Subject: make webserver list suffixnodetree blocks as well X-Git-Tag: auth-4.0.0-rc1~19^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b71b874ceb1ee75e00ab3eabbea7a59cdaeaa92;p=pdns make webserver list suffixnodetree blocks as well --- diff --git a/pdns/dnsdist-web.cc b/pdns/dnsdist-web.cc index 7c051f8df..199a40320 100644 --- a/pdns/dnsdist-web.cc +++ b/pdns/dnsdist-web.cc @@ -185,6 +185,22 @@ static void connectionThread(int sock, ComboAddress remote, string password, str obj.insert({e->first.toString(), thing}); } } + + auto slow2 = g_dynblockSMT.getCopy(); + slow2.visit([&now,&obj](const SuffixMatchTree& node) { + if(now