Hi,
Is there any sample code for the curl asynch DNS resolution c-ares/
threaded usage?
Thanks,
-Siddeshwar
________________________________
From: Daniel Stenberg <[email protected]>
To: siddeshwar <[email protected]>; libcurl development
<[email protected]>
Sent: Thursday, November 1, 2012 10:50 PM
Subject: Re: Help: How to build curl library with asyncronous DNS resolver
using --enable-threaded-resolver
On Wed, 31 Oct 2012, siddeshwar wrote:
> I am trying to build and use libcurl 7.27v on linux with
> --enable-threaded-resolver support to have asynchronous DNS resolution. Curl
> not able to resolve the hostname and connect. But if I build the libcurl
> without --enable-threaded-resolver, its able to resolve the same host name
> and connect.
>
> What are the things I need to take care while building with
> --enable-threaded-resolver option ? anything I am missing ?
You shouldn't need to do much else than providing that configure option. It
will do the rest on its own.
Which Linux is this? I'll admit I haven't personally tried the threaded
resolver in a while...
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html