bind9/bin
Aram Sargsyan 7e2f50c369 Fix dig hanging issue in cases when the lookup's next query can't start
In recv_done(), when dig decides to start the lookup's next query in
the line using `start_udp()` or `start_tcp()`, and for some reason,
no queries get started, dig doesn't cancel the lookup.

This can occur, for example, when there are two queries in the lookup,
one with a regular IP address, and another with a IPv4 mapped IPv6
address. When the regular IP address fails to serve the query, its
`recv_done()` callback starts the next query in the line (in this
case the one with a mapped IP address), but because `dig` doesn't
connect to such IP addresses, and there are no other queries in the
list, no new queries are being started, and the lookup keeps hanging.

After calling `start_udp()` or `start_tcp()` in `recv_done()`, check
if there are no pending/working queries then cancel the lookup instead
of only detaching from the current query.
2022-04-04 09:15:56 +00:00
..
check Set hard thread affinity for each zone 2022-04-01 23:50:34 +02:00
confgen Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
delv Remove isc_appctx_t use in dns_client 2022-03-29 14:14:49 -07:00
dig Fix dig hanging issue in cases when the lookup's next query can't start 2022-04-04 09:15:56 +00:00
dnssec Teach dnssec-settime to read times that it writes 2022-03-25 16:05:43 +01:00
named Don't use reference counting in isc_timer unit 2022-04-02 01:23:15 +02:00
nsupdate Remove use of the inline keyword used as suggestion to compiler 2022-03-25 08:33:43 +01:00
plugins Make isc_ht optionally case insensitive 2022-03-28 15:02:18 -07:00
rndc Remove extrahandle size from netmgr 2022-03-25 10:38:35 +01:00
tests Fix dig hanging issue in cases when the lookup's next query can't start 2022-04-04 09:15:56 +00:00
tools Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00