[krbdev.mit.edu #6923] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Jun 23 00:13:45 EDT 2011


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.

http://src.mit.edu/fisheye/changelog/krb5/?cs=24978
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




More information about the krb5-bugs mailing list