curl-library
Re: Workaround for missing ares_getaddrinfo() with IPv4 and IPv6
Date: Mon, 20 Dec 2010 07:38:33 +0100
2010/12/18 Daniel Stenberg <daniel_at_haxx.se>:
> On Mon, 6 Dec 2010, Tommie Gannert wrote:
>
>> this is a patch to let hostares.c request both IPv4 and IPv6 addresses
>> when IPv6 is enabled.
>
> Thanks a lot!
>
> I modified it slightly and pushed it just now. I haven't tried all build
> combinations yet (so I'll have to pay some extra attention to the build logs
> the upcoming days), but I got so happy this version solved one of the rather
> long outstanding c-ares problems that was easily repeated by trying to get
> files from www.sunet.se with curl being ipv6 and c-ares enabled (which my
> dev version usually is).
Ok. I'll try to make a getaddrinfo_light() for c-ares during Christmas
(as we have
discussed.) To clean up the API between the two.
Consider this a quick-n-dirty fix to get us on the IPv6 road again. ;)
-- Tommie ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-12-20