bind9/lib
Aram Sargsyan 4dc2ff79d6 Synchronize dns_request_createraw() and dns_request_create() UDP timeout
The dns_request_createraw() function, unlike dns_request_create(), when
calculating the UDP timeout value, doesn't check that 'udpretries' is
not zero, and that is the more logical behavior, because the calculation
formula uses division to 'udpretries + 1', where '1' is the first try.

Change the dns_request_create() function to remove the 'udpretries != 0'
condition.

Add a 'REQUIRE(udpretries != UINT_MAX)' check to protect from a division
by zero.

Make the 'request->udpcount' field to represent the number of tries,
instead of the number of retries.

(cherry picked from commit 643abfbba7)
2023-04-03 16:18:39 +00:00
..
bind9 deprecate delegation-only and root-delegation only 2023-03-23 14:09:53 -07:00
dns Synchronize dns_request_createraw() and dns_request_create() UDP timeout 2023-04-03 16:18:39 +00:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
isc Kill unit tests that run more than 1200 seconds 2023-04-03 11:11:26 +10:00
isccc Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
isccfg deprecate delegation-only and root-delegation only 2023-03-23 14:09:53 -07:00
ns remove named_os_gethostname() 2023-02-18 12:27:19 -08: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