From bf3b0cec366c090af000b066267b6f6bbb3a512a Mon Sep 17 00:00:00 2001 From: bert hubert Date: Tue, 6 Jan 2015 16:30:53 +0100 Subject: [PATCH] new queries now get far more multiplexer attention than they used to --- pdns/pdns_recursor.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index fdb25fee7..56568eb54 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<