bind9/lib
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
..
bind9 remove nonfunctional DSCP implementation 2023-01-09 12:15:21 -08:00
dns Cancel all fetch events in dns_resolver_cancelfetch() 2023-01-12 12:43:32 +01:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
isc Prefer the pthread_barrier implementation over uv_barrier 2023-01-11 09:51:02 +01:00
isccc Change the isc_buffer_reserve() to take just buffer pointer 2022-12-20 19:13:48 +01:00
isccfg add a configuration option for the update quota 2023-01-12 11:52:48 +01:00
ns Cancel all fetch events in dns_resolver_cancelfetch() 2023-01-12 12:43:32 +01:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00