Files
bind9/lib/dns
Aram Sargsyan ec2098ca35 Cancel all fetch events in dns_resolver_cancelfetch()
Although 'dns_fetch_t' fetch can have two associated events, one for
each of 'DNS_EVENT_FETCHDONE' and 'DNS_EVENT_TRYSTALE' types, the
dns_resolver_cancelfetch() function is designed in a way that it
expects only one existing event, which it must cancel, and when it
happens so that 'stale-answer-client-timeout' is enabled and there
are two events, only one of them is canceled, and it results in an
assertion in dns_resolver_destroyfetch(), when it finds a dangling
event.

Change the logic of dns_resolver_cancelfetch() function so that it
cancels both the events (if they exist), and in the right order.
2023-01-12 12:43:32 +01:00
..
2023-01-09 12:15:21 -08:00
2022-12-07 22:20:02 +00:00
2022-11-29 08:54:34 +01:00
2022-11-30 11:47:35 -08:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-12-07 22:20:02 +00:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-05-03 00:41:42 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-05-03 12:38:59 +00:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00