curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Require info on CURLOPT_INTERFACE.

From: Badari Prasad via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 7 Dec 2018 09:18:54 +0530

Ok Thank you for the information ...

On Thu, Dec 6, 2018 at 10:13 PM Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Thu, 6 Dec 2018, Badari Prasad via curl-library wrote:
>
> > Require info on CURLOPT_INTERFACE, does libcurl choose appropriate ip
> > address (ipv4 or ipv6) from an eth interface depending on destination?
>
> I believe it does. See
> https://github.com/curl/curl/blob/master/lib/if2ip.c#L117 and onwards.
>
> But the IPv6 binding is also buggy in some senses, and we have this old
> KNOWN_BUG recorded for it:
>
> https://curl.haxx.se/docs/knownbugs.html#interface_for_ipv6_binds_to_un
>
> --
>
> / daniel.haxx.se
>

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-12-07