cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question on c-ares configuration in libcurl.

From: Phil Blundell <pb_at_reciva.com>
Date: Thu, 20 May 2010 20:15:26 +0100

On Thu, 2010-05-20 at 10:11 -0700, Ben Greear wrote:
> From what I can tell, there isn't a way to configure any of the c-ares
> logic through the curl easy_setopt API.
>
> Is there some other way to go about setting c-ares config, or
> do I need to add new easy_setopt methods to do this?

I'm not sure that adding a mechanism which is explicitly for c-ares
would be all that wholesome. Is this for your query source address
binding thing? If so, you might do better to just add some kind of
generic CURLOPT_DNS_QUERY_SOURCE_ADDRESS option and let the various DNS
backends implement it as they wish.

p.

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