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: Constantine Sapuntzakis <csapuntz_at_gmail.com>
Date: Sat, 7 Nov 2009 22:07:29 -0800

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

-------------------------------------------------------------------
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