From: Remi Gacogne Date: Mon, 26 Feb 2024 12:03:58 +0000 (+0100) Subject: dnsdist: Properly handle a failure of the first lazy health-check X-Git-Tag: rec-5.1.0-alpha1~114^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2cd1a8d65bd8bc45458115f5827126aa537906b3;p=thirdparty%2Fpdns.git dnsdist: Properly handle a failure of the first lazy health-check --- diff --git a/pdns/dnsdistdist/dnsdist.cc b/pdns/dnsdistdist/dnsdist.cc index 3147fe3cf8..f836e13200 100644 --- a/pdns/dnsdistdist/dnsdist.cc +++ b/pdns/dnsdistdist/dnsdist.cc @@ -3405,6 +3405,7 @@ int main(int argc, char** argv) } if (!queueHealthCheck(mplexer, dss, true)) { + dss->submitHealthCheckResult(true, false); dss->setUpStatus(false); warnlog("Marking downstream %s as 'down'", dss->getNameWithAddr()); }