bind9/bin/dig
JINMEI Tatuya d896606282 avoid retrying a server if its address is unusable
Previously, if there's no more server to try in force_next,
it attempted to retry the current server similar to a query
timeout case. But, force_next() is called only when the
current server's address is unusable and the query was not
even sent, so recvcount was not incremented, causing an
assertion failure.

We might be able to fix it so the retry doesn't cause a crash,
but it doesn't make sense to retry the server when its address
is known to be unusable. So, simply avoiding the retry would be
the easiest and safest way to prevent the crash.

(cherry picked from commit 022bf31fab)
2025-11-04 19:05:52 +00:00
..
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
dig.c Use clang-format-20 to update formatting 2025-06-25 13:32:08 +10:00
dig.rst Add CO support to dig 2025-06-13 20:31:31 +10:00
dighost.c avoid retrying a server if its address is unusable 2025-11-04 19:05:52 +00:00
dighost.h Add CO support to dig 2025-06-13 20:31:31 +10:00
host.c Do HTTPS record query from host in addition 2025-02-18 14:58:14 +00:00
host.rst Do HTTPS record query from host in addition 2025-02-18 14:58:14 +00:00
Makefile.am Add OpenSSL includes as needed 2024-11-15 14:03:44 +00:00
nslookup.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
nslookup.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 10:46:36 +01:00
readline.h Remove redundant semicolons after the closing braces of functions 2024-11-19 14:26:56 +01:00