curl-library
Re: Make DNS requests follow the CURLOPT_INTERFACE if c-ares is in use
Date: Sun, 07 Apr 2013 20:59:00 -0700
On 04/07/2013 07:30 PM, Kim Vandry wrote:
> On 2013-04-07 22:02 , Ben Greear wrote:
>> Please do not force c-ares to use the same interface as curl....normally
>> it should
>> be the same, but not in all cases, so you can just give users more options
>> to explicitly bind c-ares.
>
> Hi Ben,
>
> A separate option to set the interface for c-ares is fine with me. You've also exposed c-ares' ability to set the local address to bind to, which I didn't do in
> my version.
>
> It's yet one more option option that you have to remember to set though, so in this case I think it would be a good idea if the c-ares interface would default
> to the same as the curl interface. That way, in the typical case where you want them to be the same, you only have to set one option.
I'm fine with it defaulting to that..but then we'd need some way to tell it to not bind c-ares,
maybe just configure c-ares to bind to 0.0.0.0 and dev "" or something like that...
Thanks,
Ben
>
> -kv
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-- Ben Greear <greearb_at_candelatech.com> Candela Technologies Inc http://www.candelatech.com ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-04-08