bind9/bin/tests
Matthijs Mekking aaed7f9d8c Remove result exception on staleonly lookup
When implementing "stale-answer-client-timeout", we decided that
we should only return positive answers prematurely to clients. A
negative response is not useful, and in that case it is better to
wait for the recursion to complete.

To do so, we check the result and if it is not ISC_R_SUCCESS, we
decide that it is not good enough. However, there are more return
codes that could lead to a positive answer (e.g. CNAME chains).

This commit removes the exception and now uses the same logic that
other stale lookups use to determine if we found a useful stale
answer (stale_found == true).

This means we can simplify two test cases in the serve-stale system
test: nodata.example is no longer treated differently than data.example.
2021-04-02 10:02:40 +02:00
..
startperf update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
system Remove result exception on staleonly lookup 2021-04-02 10:02:40 +02:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:12:47 -08:00
.gitignore Refactor TLSDNS module to work with libuv/ssl directly 2021-01-25 09:19:22 +01:00
fromhex.pl update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
Makefile.am Refactor TLSDNS module to work with libuv/ssl directly 2021-01-25 09:19:22 +01:00
named.conf Remove a lot of obsoleted options 2021-01-19 10:12:40 +01:00
prepare-softhsm2.sh update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
test_client.c Rename 'yield' to 'waitforsignal' due to namespace clash 2021-03-11 11:34:15 +11:00
test_server.c DoH: call send callbacks after data was actually sent 2021-03-05 13:29:32 +02:00
wire_test.c Silence CID 320481: Null pointer dereferences 2021-02-23 12:45:45 +00:00