]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Properly handle a failure of the first lazy health-check
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 26 Feb 2024 12:03:58 +0000 (13:03 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 14 Mar 2024 08:51:26 +0000 (09:51 +0100)
pdns/dnsdistdist/dnsdist.cc

index 3147fe3cf8f56474f670cb53ac345127e6ad3a56..f836e1320000fde364cd07807669a78ec90404ad 100644 (file)
@@ -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());
           }