]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Better handling of spurious wake-ups, interrupted calls
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 10 Jul 2023 15:49:51 +0000 (17:49 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 17 Jul 2023 08:32:21 +0000 (10:32 +0200)
commitb92f183afd503cb683427845c2b91bb52a3d12a4
treea1411e40bf264ee124192b552d8329eb165092e4
parentf5247a69bfdb3215af99e1f027002d489b5aeb6e
dnsdist: Better handling of spurious wake-ups, interrupted calls

If we were woken up by the multiplexer but have actually nothing to read,
or the call to `recv()` is interrupted, we do not want to stop listening
for the health-check response event. It is also not useful to log about
it, even at "verbose health-check" level.
Note that we would have logged previously, so this kind of event would
not have gone unnoticed anyway.
pdns/dnsdistdist/dnsdist-healthchecks.cc