From 2cd1a8d65bd8bc45458115f5827126aa537906b3 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 26 Feb 2024 13:03:58 +0100 Subject: [PATCH] dnsdist: Properly handle a failure of the first lazy health-check --- pdns/dnsdistdist/dnsdist.cc | 1 + 1 file changed, 1 insertion(+) 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()); } -- 2.47.3