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 23:47:18 +0200 (CEST)
On Thu, 22 Sep 2022, Dmitry Karpov via curl-library wrote:
> That's right. I don't think that it is possible to change the
> Curl_ipv6works() implementation that it will work the same way with zero
> delays for ALL possible kernels/network configurations. And it is not
> possible to change all kernels where some curl application may run to make
> Curl_ipv6works() return false with 0ms delay when there are some issues with
> IPv6 on kernel levels.
What I cannot understand is how you can implement a working callback for this
purpose, called when the connection is to setup, but you cannot set an easy
option, done just before the connection is about to get setup.
Why would one work and not the other?
Date: Thu, 22 Sep 2022 23:47:18 +0200 (CEST)
On Thu, 22 Sep 2022, Dmitry Karpov via curl-library wrote:
> That's right. I don't think that it is possible to change the
> Curl_ipv6works() implementation that it will work the same way with zero
> delays for ALL possible kernels/network configurations. And it is not
> possible to change all kernels where some curl application may run to make
> Curl_ipv6works() return false with 0ms delay when there are some issues with
> IPv6 on kernel levels.
What I cannot understand is how you can implement a working callback for this
purpose, called when the connection is to setup, but you cannot set an easy
option, done just before the connection is about to get setup.
Why would one work and not the other?
-- / 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