From: bert hubert Date: Mon, 5 Sep 2016 09:01:22 +0000 (+0200) Subject: reinstate duplicate record detection, slowing us down tremendously until we speed... X-Git-Tag: dnsdist-1.1.0-beta2~123^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d00ef901e9b3a238fdd40dcfe06cc81ecc598f8;p=thirdparty%2Fpdns.git reinstate duplicate record detection, slowing us down tremendously until we speed that up --- diff --git a/pdns/dnspacket.cc b/pdns/dnspacket.cc index 7294ffa737..36dae058f1 100644 --- a/pdns/dnspacket.cc +++ b/pdns/dnspacket.cc @@ -179,9 +179,9 @@ void DNSPacket::addRecord(const DNSZoneRecord &rr) // this removes duplicates from the packet in case we are not compressing // for AXFR, no such checking is performed! // cerr<<"addrecord, content=["<dr) + if(rr.dr == i->dr) // XXX SUPER SLOW return; } }