cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Constantine Sapuntzakis <csapuntz_at_gmail.com>
Date: Fri, 25 Sep 2009 12:56:45 -0700

> As I said in a pervious mail, the exact procedure to get this merged should get coordinated with Constantine Sapuntzakis and his win32-related fixes of that
> same threaded-resolver functionality.

Attached is a merged version of hostthre.c. I've also cleaned up the
macros to be functions  and the types to be prefixed with curl_. I
haven't tested it on a Mac, so it probably doesn't compile but I think
it's close.

The changes are so extensive that I decided not to do a diff - it's
easier to read as a file.

It should be pretty straightforward to copy the file into an existing
curl-7.19.6 source tree and do a diff.

It passes our org's network regression tests.

This does not address non thread-safe resolvers. That's probably best
dealt with in the configure mechanism.

-Costa

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2009-09-25