]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
ixfrdist: Don't process records of interrupted AXFR 6890/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 28 Aug 2018 13:29:25 +0000 (15:29 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 28 Aug 2018 13:29:25 +0000 (15:29 +0200)
pdns/ixfrdist.cc

index 7ed9c8f53c65e2046c75eae187b9125d0c88e8c7..a3e0a5db72fab0dd7303fbc9a5f09b8fb7e1a9c1 100644 (file)
@@ -360,8 +360,10 @@ void updateThread(const string& workdir, const uint16_t& keep, const uint16_t& a
         g_log<<Logger::Notice<<"Retrieved all zone data for "<<domain<<". Received "<<nrecords<<" records."<<endl;
       } catch (PDNSException &e) {
         g_log<<Logger::Warning<<"Could not retrieve AXFR for '"<<domain<<"': "<<e.reason<<endl;
+        continue;
       } catch (runtime_error &e) {
         g_log<<Logger::Warning<<"Could not retrieve AXFR for zone '"<<domain<<"': "<<e.what()<<endl;
+        continue;
       }
 
       try {