From: Aki Tuomi Date: Fri, 30 Oct 2020 20:41:47 +0000 (+0200) Subject: pdns: stubresolver - Ignore waitForPipe error, handled later X-Git-Tag: dnsdist-1.7.0-alpha1~10^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=317787651b68a8f276e6ce0033e63296b7aedcac;p=thirdparty%2Fpdns.git pdns: stubresolver - Ignore waitForPipe error, handled later --- diff --git a/pdns/stubresolver.cc b/pdns/stubresolver.cc index 4b3a47ab7a..325cba8110 100644 --- a/pdns/stubresolver.cc +++ b/pdns/stubresolver.cc @@ -141,7 +141,8 @@ int stubDoResolve(const DNSName& qname, uint16_t qtype, vector& r string reply; - waitForData(sock.getHandle(), 2, 0); + // error handled after this + (void)waitForData(sock.getHandle(), 2, 0); try { retry: sock.read(reply); // this calls recv