Aram Sargsyan
6bebcedb80
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.
(cherry picked from commit ec2098ca35 )
2023-01-12 13:00:03 +01:00
..
2023-01-09 13:57:43 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-05-16 18:31:55 +02:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2023-01-11 17:26:26 +00:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-08-31 15:49:25 -07:00
2022-11-29 10:30:34 +01:00
2022-05-16 10:35:33 +02:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2023-01-11 13:42:00 +00:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2023-01-10 17:45:51 +11:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2023-01-12 13:00:03 +01:00
2022-12-08 11:20:35 +11:00
2022-12-08 11:20:35 +11:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2023-01-11 12:17:27 +00:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00