Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

Add AI_ADDRCONFIG to the hint flags for every invocation of
getaddrinfo which wasn't already using it. This is often the default
behavior when no hints are specified, but we tend to specify hints a
lot, so we have to say it ourselves. AI_ADDRCONFIG causes AAAA
lookups to be skipped if the system has no public IPv6 interface
addresses, usually saving a couple of DNS queries per getaddrinfo
call and allowing DNS caching to be much more effective without the
need for negative caching.

https://github.com/krb5/krb5/commit/db143ecacf966a580c0fedd21d413019d0ba0c99
Commit By: ghudson
Revision: 24978
Changed Files:
U trunk/src/appl/sample/sclient/sclient.c
U trunk/src/kadmin/dbutil/kadm5_create.c
U trunk/src/lib/kadm5/alt_prof.c
U trunk/src/lib/kadm5/clnt/client_init.c
U trunk/src/lib/krb5/os/hostaddr.c
U trunk/src/lib/krb5/os/hst_realm.c
U trunk/src/lib/krb5/os/sendto_kdc.c
U trunk/src/plugins/locate/python/py-locate.c
U trunk/src/slave/kprop.c