[PATCH] DNS cache for Konqueror/KIO

David Faure faure at kde.org
Mon Jul 7 23:59:17 BST 2008

On Monday 07 July 2008, Thiago Macieira wrote:
> Roland Harnau wrote:
> >According to [1]  the addreses returned by  getaddrinfo() (glibc
> >version)  are ordered:
> >"The important thing to remember here is that the addresses are
> >returned in an order where the first returned address has the highest
> >probability to succeed."
> >
> >[1]  http://people.redhat.com/drepper/userapi-ipv6.html
> That is true, but the DNS server also does a round-robin ordering of 
> addresses to spread the load on identical servers. getaddrinfo() is 
> kind-of smart, but it can't tell the difference between two global IP 
> addresses of the same version (v4 or v6).
> Anyways, since the cache is held per application, this is not a big 
> problem -- or a problem at all.
> Patch is good, perfectly indented, very clever. Please commit!

Yes but not right now, less than 24 hours before RC1, right?
Or are you 100% sure that this is safe for all users?
Otherwise, as good as this is, it sounds more like KDE-4.2 material to me...

David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

More information about the kde-core-devel mailing list