]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Refactor the exponential back-off timer code 13520/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 20 Nov 2023 19:38:57 +0000 (20:38 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 21 Nov 2023 07:20:56 +0000 (08:20 +0100)
commitd629f5b02ee6de8bf94592980472337fdbf301ad
tree435cf5d00e0a1907137aa339a253d667d413785c
parent808a6f25e472d16b860e36efb33ea961f4cdad58
dnsdist: Refactor the exponential back-off timer code

The existing code could overflow in some cases, leading to a
potentially endless busy-loop.
pdns/dnsdist-carbon.cc
pdns/dnsdistdist/Makefile.am
pdns/dnsdistdist/dnsdist-backend.cc
pdns/dnsdistdist/dnsdist-backoff.hh [new file with mode: 0644]
pdns/dnsdistdist/test-dnsdistbackoff.cc [new file with mode: 0644]