]> git.ipfire.org Git - thirdparty/pdns.git/commit
Smarter and faster startup and teardown of auth and rec
authorOtto <otto.moerbeek@open-xchange.com>
Mon, 29 Nov 2021 08:47:40 +0000 (09:47 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Tue, 30 Nov 2021 09:56:41 +0000 (10:56 +0100)
commit70542ce30b70560fa47b61e6830de0d8536aa9e1
tree6aaa1ab7c8bb20cda004e3582bc951e7f9957489
parentcd998ae0c2055df0d6f2c8d69f7dc00dadee85af
Smarter and faster startup and teardown of auth and rec

Instead of having a fixed 1 or 2s delay, poll the TCP port to see
if rec or auth has started up in a semi-tight loop: a loop with a
small sleep.  For teardown we poll the wait status using poll() in
a similar loop.
regression-tests.recursor-dnssec/recursortests.py