]> git.ipfire.org Git - thirdparty/bind9.git/commit
Shutdown the fetch context after canceling the last fetch
authorOndřej Surý <ondrej@isc.org>
Wed, 15 Jan 2025 12:02:20 +0000 (13:02 +0100)
committerOndřej Surý <ondrej@isc.org>
Wed, 22 Jan 2025 13:19:20 +0000 (14:19 +0100)
commit9f945c8b67006a1e495373eacb917ec2c47200d6
tree644c11e0c100c4f2203b1134f885d95d14407f5c
parent0673568c170cb7af5468481861ed98108b618a22
Shutdown the fetch context after canceling the last fetch

Currently, the fetch context will continue running even when the last
fetch (response) has been removed from the context, so named can process
and cache the answer.  This can lead to a situation where the number of
outgoing recursing clients exceeds the the configured number for
recursive-clients.

Be more stringent about the recursive-clients limit and shutdown the
fetch context immediately after the last fetch has been canceled from
that particular fetch context.
lib/dns/resolver.c