On 8 Nov 2009, at 06:07, Constantine Sapuntzakis wrote:
> Attached is a new full diff:
> * (configure.ac) Try to detect thread-safe resolver and refuse to
> allow --enable-threaded-resolve unless thread-safe resolver detected)
> * (hostthre.c) Threaded resolver uses getaddrinfo whenever available
> * (hostip4.c) "Thread safe" IPv4 resolve factored out into
> Curl_ipv4_resolve. Used by both synchronous and threaded resolver for
> IPv4 resolves.
> * (hostip4.c) Curl_ipv4_resolve uses getaddrinfo if present on the
> system (both synchronous and threaded). This will make --disable-ipv6
> thread safe on the Mac.
> * Some code simplification - async callbacks, fewer macros, got rid
> of hostent_dup/hostent_free/gethostbyname_callback from previous
> patch, also got rid of Curl_addrinfo_copy and Curl_addrinfo6_callback.
>
> -Costa
> <thread-
> v5
> .diff.gz
> >-------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
Hi,
Does this patch fix Multi-threading problems on OSX 10.6 even if c-
ares is being used?
Regards,
Rob.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-08