cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: [PATCH, RFC] Make hostthre.c work on POSIX

From: Rob <rob_at_thetinshack.com>
Date: Sun, 8 Nov 2009 15:20:31 +0000

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

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET