]> git.ipfire.org Git - thirdparty/bind9.git/commit
Test with stale timeout cache miss, then fetch completes
authorMatthijs Mekking <matthijs@isc.org>
Thu, 27 May 2021 13:44:09 +0000 (15:44 +0200)
committerEvan Hunt <each@isc.org>
Thu, 27 May 2021 17:35:48 +0000 (10:35 -0700)
commitc64589bf46fe8d53451fd7f03ae57c630f8b3ec8
tree1af07a97cd3eba90f2c7d5f4ac7e78f456540fd7
parent8bd8e995f185729eec13f8d3bdef3d65c64895a1
Test with stale timeout cache miss, then fetch completes

Add a test case where a client request is received and the stale
timeout occurs, but it is not served stale data because there is no entry
in the cache, then is served an authoritative answer once the background
fetch completes. This ensures that a stale timeout only affects a
subsequent response if the client was answered.
bin/tests/system/serve-stale/tests.sh