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
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 22 Sep 2022 09:23:28 +0200 (CEST)
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.
Date: Thu, 22 Sep 2022 09:23:28 +0200 (CEST)
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.htmlReceived on 2022-09-22