]> granicus.if.org Git - pdns/commitdiff
ixfrdist: set the connected XFR socket to blocking
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 19 Jan 2018 13:23:46 +0000 (14:23 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 29 Jan 2018 08:20:15 +0000 (09:20 +0100)
pdns/ixfrdist.cc

index 8268db52c996ff0d7ea807486e49d0e486c4b42b..2089309f3c5c43507b63101a83411262151a9477 100644 (file)
@@ -477,6 +477,8 @@ void handleTCPRequest(int fd, boost::any&) {
     return;
   }
 
+  setBlocking(cfd);
+
   if (saddr == ComboAddress("0.0.0.0", 0)) {
     cerr<<"[WARNING] Could not determine source of message"<<endl;
     return;