curl-library
Re: Require info on CURLOPT_INTERFACE.
From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 6 Dec 2018 17:43:46 +0100 (CET)
Date: Thu, 6 Dec 2018 17:43:46 +0100 (CET)
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.htmlReceived on 2018-12-06