cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl: resolver with HAVE_ALARM not thread safe?!

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 22 Oct 2012 22:50:41 +0200 (CEST)

On Mon, 22 Oct 2012, Thorben Thuermer wrote:

> alarm() is called even when connecting to numeric IP addresses,

Room for improvement there I'd say!

>> libcurl now gives a number of choices of DNS resolver back-end at
>> compile time, some of which are immune to this problem.
>
> yes, i found those.
> but it's rather unfortunate that this is compile-time so most users would
> have to build libcurl from source to take advantage of this.

Right, but lots of users wouldn't like us to require them at build time to
allow them to be switchable at run-time either...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-22