]> 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:46:43 +0000 (08:46 +0000)
commitc3660564ce3d2fac82e2f2a37edfbdef48964443
tree02d2e9f92406c92e47400454474eeae8730f2a5f
parent5e2c20a88ca8c42b1070c24729fa443c2b45fcf7
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