]> git.ipfire.org Git - thirdparty/bind9.git/commit
Modify dns_dispatch API to accept zero timeout
authorOndřej Surý <ondrej@isc.org>
Fri, 20 Sep 2024 13:13:09 +0000 (15:13 +0200)
committerOndřej Surý <ondrej@isc.org>
Sat, 21 Sep 2024 08:53:25 +0000 (08:53 +0000)
commit41270683054d262f6cd27de4b786c44d258b8bec
treec18493d3bb1056abeeb8e3b67293d3a41043cda7
parenta0eada53883eeefe800a32cd481ae82a2f96b6cd
Modify dns_dispatch API to accept zero timeout

The dns_dispatch_add() has timeout parameter that could not be 0 (for
not timeout).  Modify the dns_dispatch implementation to accept a zero
timeout for cases where the timeouts are undesirable because they are
managed externally.

(cherry picked from commit 0f810b3144866f45413c109275210637e4425432)
lib/dns/dispatch.c