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: Thu, 5 Nov 2009 17:56:36 -0800

> 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

These mail archives are generated by hypermail.

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

File upload with ASP.NET