cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

DNS timeouts..

From: Ramkumar Ganapathy <forums.ramkumar_at_gmail.com>
Date: Tue, 15 Jun 2010 16:43:11 +0530

Hi,

I am using libcurl with c on linux. I set CURLOPT_NOSIGNAL, option to make
sure that my application do not receive signals. I have not linked to c-ares
library.

Hence as per documentation, I expected the DNS look up to keep going on,
blocking my application thread, after I configured my DNS to drop all the
address resolution request. But, after about 50 seconds, the curl oepration
timesout with DNS resoultion error (curl code 6). Is this an expected
behavior even when c-ares is not installed?

Thanks,
Ram

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET