]> git.ipfire.org Git - thirdparty/glibc.git/commit
nscd: Pass TRY_AGAIN errors in the hosts cache to clients
authorFlorian Weimer <fweimer@redhat.com>
Thu, 12 Feb 2026 11:18:54 +0000 (12:18 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 12 Feb 2026 11:18:54 +0000 (12:18 +0100)
commit68fe46a2ca55938a6c8fb3be54ef8982c11a2e00
tree302771ffec5911af4167e987ca733aeffd432fbc
parentc9c4ff0b77d72fa0c1229ac9c52ef42379b1f5a5
nscd: Pass TRY_AGAIN errors in the hosts cache to clients

This is the minimal set of changes to get the upcoming test to pass.
The TTL extension logic is somewhat iffy.  There is a trade-off here:
correct operation under the DNS specification (no TTL extensions), or
reducing loading the infrastructure if TRY_AGAIN is the result of
overload from this client.

Reviewed-by: DJ Delorie <dj@redhat.com>
nscd/aicache.c
nscd/hstcache.c
nss/getaddrinfo.c