curl-library
Re: bug in curl when using threaded resolver but no IPv6 since 7.34.0, all connections time out
From: Fabian Frank <fabian.frank.de_at_gmail.com>
Date: Thu, 9 Jan 2014 15:36:42 -0800
Date: Thu, 9 Jan 2014 15:36:42 -0800
Thanks a lot Daniel!
On Jan 9, 2014, at 3:23 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> Yes, but your patch doesn't work if libcurl is built on a system without getaddrinfo() if I read the code correctly.
You are right, if HAVE_GETADDRINFO is not defined, then my patch does not compile. Sorry!
> I would suggest a minor change:
Tested this on my Mac just know, it works when HAVE_GETADDRINFO is defined and when not and the bug is gone as well. Perfect! :-)
Regards,
Fabian
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-01-10