From: bert hubert Date: Tue, 6 Jan 2015 15:30:53 +0000 (+0100) Subject: new queries now get far more multiplexer attention than they used to X-Git-Tag: rec-3.7.0-rc1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf3b0cec366c090af000b066267b6f6bbb3a512a;p=thirdparty%2Fpdns.git new queries now get far more multiplexer attention than they used to --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index fdb25fee7c..56568eb541 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -969,6 +969,7 @@ void handleNewUDPQuestion(int fd, FDMultiplexer::funcparam_t& var) ComboAddress fromaddr; socklen_t addrlen=sizeof(fromaddr); + for(;;) if((len=recvfrom(fd, data, sizeof(data), 0, (sockaddr *)&fromaddr, &addrlen)) >= 0) { if(t_remotes) t_remotes->push_back(fromaddr); @@ -1015,8 +1016,9 @@ void handleNewUDPQuestion(int fd, FDMultiplexer::funcparam_t& var) } else { // cerr<