[PATCH] DNS cache for Konqueror/KIO

Thiago Macieira thiago at kde.org
Tue Jul 8 03:13:13 BST 2008


David Faure wrote:
>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...

Yeah, better hold until unfreeze. It's not that critical, even if it lets 
many people use KDE apps with broken routers.

It can be applied to 4.2.0 and 4.1.1.
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080707/2a906ef4/attachment.sig>


More information about the kde-core-devel mailing list