curl-library
RE: Libcurl with non-reentrant gethostbyname - thread safe?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Dec 2010 21:17:23 +0100 (CET)
Date: Mon, 6 Dec 2010 21:17:23 +0100 (CET)
On Mon, 6 Dec 2010, Vladimir Grishchenko wrote:
>> Well, using c-ares for resolving would of course be a way to avoid having
>> to use your system's defective gethostbyname implementation... ;-)
>
> As for c-ares, does it internally implement the name-resolution protocol so
> it never has to call into the gethostbyname and its variants/derivatives?
Exactly. But I should also add that c-ares does not fully implement everything
that gethostbyname and getaddrinfo offer, feature-wise.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-12-06