]> git.ipfire.org Git - thirdparty/bind9.git/commit
When a forwarder fails and we're not in a forward-only mode we
authorWitold Kręcicki <wpk@isc.org>
Thu, 3 Jan 2019 12:06:39 +0000 (13:06 +0100)
committerEvan Hunt <each@isc.org>
Wed, 16 Jan 2019 19:09:30 +0000 (11:09 -0800)
commitcfa2804e5a13aedd4fb36496f995cfdc7eb7a6c5
tree40359d14cb11d031e70dd16031c6bb82c9ff0673
parentbbb0947ee1e0bb3ab4edb4d6b627472f963fc68d
When a forwarder fails and we're not in a forward-only mode we
go back to regular resolution. When this happens the fetch timer is
already running, and we might end up in a situation where we we create
a fetch for qname-minimized query and after that the timer is triggered
and the query is retried (fctx_try) - which causes relaunching of
qname-minimization fetch - and since we already have a qmin fetch
for this fctx - assertion failure.

This fix stops the timer when doing qname minimization - qmin fetch
internal timer should take care of all the possible timeouts.
CHANGES
lib/dns/resolver.c