"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test-syncres_cc.cc" between
pdns-recursor-4.5.1.tar.bz2 and pdns-recursor-4.5.2.tar.bz2

About: PowerDNS - a separate release of the PowerDNS Recursor (without the authoritative nameserver).

test-syncres_cc.cc  (pdns-recursor-4.5.1.tar.bz2):test-syncres_cc.cc  (pdns-recursor-4.5.2.tar.bz2)
skipping to change at line 181 skipping to change at line 181
SyncRes::addEDNSLocalSubnet("0.0.0.0/0"); SyncRes::addEDNSLocalSubnet("0.0.0.0/0");
SyncRes::addEDNSLocalSubnet("::/0"); SyncRes::addEDNSLocalSubnet("::/0");
SyncRes::clearEDNSRemoteSubnets(); SyncRes::clearEDNSRemoteSubnets();
SyncRes::clearEDNSDomains(); SyncRes::clearEDNSDomains();
SyncRes::clearDelegationOnly(); SyncRes::clearDelegationOnly();
SyncRes::clearDontQuery(); SyncRes::clearDontQuery();
SyncRes::setECSScopeZeroAddress(Netmask("127.0.0.1/32")); SyncRes::setECSScopeZeroAddress(Netmask("127.0.0.1/32"));
SyncRes::s_qnameminimization = false; SyncRes::s_qnameminimization = false;
SyncRes::s_nonresolvingnsmaxfails = 0; SyncRes::s_nonresolvingnsmaxfails = 0;
SyncRes::s_nonresolvingnsthrottletime = 0; SyncRes::s_nonresolvingnsthrottletime = 0;
SyncRes::s_refresh_ttlperc = 0;
SyncRes::clearNSSpeeds(); SyncRes::clearNSSpeeds();
BOOST_CHECK_EQUAL(SyncRes::getNSSpeedsSize(), 0U); BOOST_CHECK_EQUAL(SyncRes::getNSSpeedsSize(), 0U);
SyncRes::clearEDNSStatuses(); SyncRes::clearEDNSStatuses();
BOOST_CHECK_EQUAL(SyncRes::getEDNSStatusesSize(), 0U); BOOST_CHECK_EQUAL(SyncRes::getEDNSStatusesSize(), 0U);
SyncRes::clearThrottle(); SyncRes::clearThrottle();
BOOST_CHECK_EQUAL(SyncRes::getThrottledServersSize(), 0U); BOOST_CHECK_EQUAL(SyncRes::getThrottledServersSize(), 0U);
SyncRes::clearFailedServers(); SyncRes::clearFailedServers();
BOOST_CHECK_EQUAL(SyncRes::getFailedServersSize(), 0U); BOOST_CHECK_EQUAL(SyncRes::getFailedServersSize(), 0U);
SyncRes::clearNonResolvingNS(); SyncRes::clearNonResolvingNS();
skipping to change at line 542 skipping to change at line 543
} }
if (domain == DNSName("powerdns.com") && type == QType::NS) { if (domain == DNSName("powerdns.com") && type == QType::NS) {
setLWResult(res, 0, true); setLWResult(res, 0, true);
addRecordToLW(res, domain, QType::NS, "ns1.powerdns.com"); addRecordToLW(res, domain, QType::NS, "ns1.powerdns.com");
addRecordToLW(res, DNSName("ns1.powerdns.com"), QType::A, "4.5.6.7", DNSReso urceRecord::ADDITIONAL); addRecordToLW(res, DNSName("ns1.powerdns.com"), QType::A, "4.5.6.7", DNSReso urceRecord::ADDITIONAL);
return LWResult::Result::Success; return LWResult::Result::Success;
} }
return LWResult::Result::Timeout; return LWResult::Result::Timeout;
} }
pdns::TaskQueue g_test_tasks;
void pushTask(const DNSName& qname, uint16_t qtype, time_t deadline) void pushTask(const DNSName& qname, uint16_t qtype, time_t deadline)
{ {
g_test_tasks.push({qname, qtype, deadline, true});
} }
 End of changes. 3 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)