created and passed first unit tests for DNS; finished recovery from PingScheduler...
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 29 Apr 2015 12:38:50 +0000 (14:38 +0200)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 4 May 2015 14:57:58 +0000 (16:57 +0200)
commit8d26221dccdfffd3a9d12e3f866256720ddf67fe
treeb918b36482ced5f198d1b9e722228ede54dfb1ec
parent162610d9e188d0159e25e62b4af2a1d88efb648c
created and passed first unit tests for DNS; finished recovery from PingScheduler::ContinueOnOutdatedIPs

Also:
* renamed PingScheduler::try_to_ping to PingScheduler::ping_when_ready
* fixed string constant DnsCache::DoNotUseCacheFile
* moved Cname to own header file
* created constructor of DnsMaster with DnsCacheItem so can test cache offline
* fixed retrieval of outdated CName
src/dns/cname.h [new file with mode: 0644]
src/dns/dnscache.cpp
src/dns/dnscache.h
src/dns/dnsmaster.cpp
src/dns/dnsmaster.h
src/dns/dnsresolver.cpp
src/dns/resolverbase.cpp
src/host/pingscheduler.cpp
src/host/pingscheduler.h
test/test_dns.cpp