Skip Menu |

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.
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