On Tue, Sep 20, 2022 at 06:58:31PM +0000, Dmitry Karpov via curl-library wrote: > To cover such a range of cases, curl application needs a more flexible > approach for detection whether IPv6 works on the "system level". > And I guess the "curl_global_init_ipv6() with callback" provides such > flexibility and allows to satisfy a wide range of application-specific needs.
Without discussing of the merits of such an idea, a callback function doesn't seem like the right way to configure this in libcurl. An option like CURLOPT_IPRESOLVE seems like a much cleaner solution. Dan -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html