Hi,

We were planning on making changes to libCurl to add new functionality 
regarding IPv6 and wanted input as to the design.

The change involves adding an option to Curl (something like 
CURLOPT_IP_FAMILY_PREFERENCE) which would allow a preference of IPv4 vs IPv6 to 
be set for the first connection in a  dual stack environment. This 
functionality would extend the happy eyeballs algorithm.

There is already an CURLOPT_IPRESOLVE option which limits the IP version but 
this new option is more a preference in the case there is both an IPv4 and IPv6 
interface for the connection.

We propose making a change to connect.c::Curl_connecthost() and reorder the 
conn->tempaddr object before calling singleipconnect() based on the option set 
by the consumer.

What are your thoughts on this proposal?

Thanks,
Alan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to