cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Loosing connection on iOS hangs request

From: <Vincas.Razma_at_bentley.com>
Date: Wed, 25 Nov 2015 14:04:34 +0000

>> >>
>> >> >Which DNS resolver?
>> >> How do I check that?
>> >
>> >curl --version (or curl_version/curl_version_info) will say.
>>
>> culr_version() output is "libcurl/7.37.0 OpenSSL/1.0.1p zlib/1.2.8"
>
>You can also check if libcurl was built with async DNS via:
>
> curl_version_info_data *info = curl_version_info(CURLVERSION_NOW);
> printf("async DNS: %d\n", !!(info->features &
> CURL_VERSION_ASYNCHDNS));
>
>(see: http://curl.haxx.se/libcurl/c/curl_version_info.html)

Got "async DNS: 0".
Would building with async DNS help in this case?
Does it affect CURL behaviour in any way?

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-11-25