curl-library
Re: Connect-timeout on Win32
Date: Thu, 19 Feb 2004 23:58:33 +0100 (CET)
On Thu, 19 Feb 2004, Gisle Vanem wrote:
Thanks for the update. I'll look at this as soon as I can.
> > Is there any particular reason it doesn't work with IPv6?
>
> I don't have a IPv6 stack installed now so I can't test it. And my patch
> only runs gethostbyname (not getaddrinfo) in a separate thread. I can add it
> later.
Ok, I was only curious. I bet you are the only person who ever tried building
curl with ipv6 support on windows! ;-)
> I modelled it after the ares-code, so any bugs are yours :)
Oh crap, I thought I would get someone to blame!
> The bug I had was my fault really. I used calloc() and compiled with
> CURLDEBUG. Only problem is that curl_free() tried to free something it
> didn't allocate. Should we add curl_calloc() too or add some magic marker to
> the 'struct memdebug' block? calloc() is IMHO much cleaner to use.
I think we should add a curl_calloc().
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]]Received on 2004-02-19