> This file seems to have an unclear license. It says "license
> GPLWithACException" in the header, but with no further explanation. Remember
> that we avoid *GPL licensed code in this project!
>
Daniel,
Sorry about that. I'll remove that in the next version
Here are the existing work items on the patch, as I see it:
* make it compile on systems without pthreads and not Windows
* pthread detection must be rewritten to not be GPL
* detect thread safe resolver on POSIX as follows:
* the presence of gethostbyname_r API
* Mac OS X/FreeBSD 5.3 or above - whitelist getaddrinfo as thread safe
* disable thread resolver on POSIX by default except if we detect
thread safe resolve
* change hostthre.c to use getaddrinfo even for IPv4 if present and
platform is thread-safe
* otherwise fallback to gethostbyname_r on UNIX or gethostbyname
on Windows
* to support this change, need a version of addrinfo_callback
that works with Curl_addrinfo * no matter what the compile options
(IPv6 or not) are...
I'll get to it this weekend unless somebody wants to take this over.
-Costa
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-06