]> git.ipfire.org Git - thirdparty/bind9.git/commit
Small optimization in query_usestale
authorDiego Fronza <diego@isc.org>
Tue, 12 Jan 2021 15:59:21 +0000 (12:59 -0300)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 29 Jan 2021 09:41:39 +0000 (10:41 +0100)
commit5cbb28a40ee5dbd0b6cbbaea129011fceeda750f
treed3d635e666790ff5bde42a7c2d9eead4d06c4f3d
parentfe4e0b889cda3cef137923c966595341df0a6a55
Small optimization in query_usestale

This commit makes the code in query_usestale easier to follow, it also
doesn't attach/detach to the database if stale answers are not enabled.

(cherry picked from commit f89ac07b28847d65a2b81b5474504b4634aeaf35)
lib/ns/query.c