On Thu, 22 Sep 2022, Dmitry Karpov via curl-library wrote:

For instance, curl application may implement the "IPv6 works" callback based on some atomic variable, which is a magnitude faster than the socket system call done in the Curl_ipv6works().

An application that can "just use an atomic variable" can also "just set an easy option" and get the exact same effect, right?

This suggestion reads to me like a work-around for you not wanting to change code in the place that would afix the problem, but you rather propose and add a new public libcurl function call so that you can do the change elsewhere in your app. Generally, having two ways to do the same thing is bad.

--

 / daniel.haxx.se
 | Commercial curl support up to 24x7 is available!
 | Private help, bug fixes, support, ports, new features
 | https://curl.se/support.html
--
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to