From 317787651b68a8f276e6ce0033e63296b7aedcac Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Fri, 30 Oct 2020 22:41:47 +0200 Subject: [PATCH] pdns: stubresolver - Ignore waitForPipe error, handled later --- pdns/stubresolver.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.2