curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: [EXTERNAL] Re: Feature request: provide ability to set a global callback function telling libcurl if IPv6 works on the system

From: Daniel F via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 23 Sep 2022 18:40:35 +0200

> In other words, it is much easier and cleaner to override how
> Curl_ipv6works() to adjust to demands of certain systems/scenarios
> than do checks if "IPv6 works" and change resolve mode in every place
> where application sets a transfer.

Maybe you could contribute your system-specific IPv6 detection code as
patch(es) for libcurl? This approach would not require any new callback.

Regards,
Daniel
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-09-23