| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: [PATCH, RFC] Make hostthre.c work on POSIX
From: Constantine Sapuntzakis <csapuntz_at_gmail.com>
Date: Fri, 25 Sep 2009 15:37:59 -0700
> Hey, this is nice. Much cleaner and nicer than my implementation (mainly
Thanks! Attached a new version that should address your comments.
>
Fixed. Also setting *hnd instead of hnd
> - The definition of *tsd in gethostbyname_complete looks truly evil.
Wrapped.
> - You've reverted to itoa() in getaddrinfo_thread. Please use snprintf
Fixed
> - The "shouldn't be reached" bit in Curl_is_resolved should probably be
Fixed
> Do we have any sense of what we're going to do about the dummy_sock
So, on UNIX, you can create a nonblocking socketpair and then write a byte
On Windows, no socketpairs, select doesn't work on pipes. One would have to use
Easiest thing to do overall is to keep the Windows and POSIX
Eventually, we may want to support registering a callback that gets
Patch also fixed up error handling in init_resolve_thread.
BTW, if we move the thread library out of hostthre.c, we can register
-Costa
-------------------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info