]> git.ipfire.org Git - thirdparty/bind9.git/commit
Call dns_adb_endudpfetch() on error path, if required
authorAram Sargsyan <aram@isc.org>
Fri, 21 Oct 2022 08:08:55 +0000 (08:08 +0000)
committerAram Sargsyan <aram@isc.org>
Fri, 21 Oct 2022 08:36:34 +0000 (08:36 +0000)
commit64feeba60f3b058229594eeec1553b04ea94822d
treec3181bb7200eb83ca8be97e8be80c8c0f1f0ae30
parenta83a58467da71cb7607bb5d78978573f88f77527
Call dns_adb_endudpfetch() on error path, if required

For UDP queries, after calling dns_adb_beginudpfetch() in fctx_query(),
make sure that dns_adb_endudpfetch() is also called on error path, in
order to adjust the quota back.

(cherry picked from commit 5da79e2be01700c1dd01e5a3f69617129036bb02)
lib/dns/resolver.c