cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Async cancel lengthy DNS lookup

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 1 Jan 2010 22:35:52 +0100 (CET)

On Fri, 1 Jan 2010, Adrian Michel wrote:

> I managed to get libcurl to use c-ares as dns resolver. I then I tested with
> a domain that can't be resolved. The call to curl_easy_perform takes a while
> (15 seconds or so), but I'm still not seeing calls to the progress callback.

No, I just read the source code and I really can't explain why but there's
indeed a lack of callback-usage during the name resolving. I consider this a
bug we need to fix. I'll take a look at it asap.

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