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: Dan Fandrich via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 21 Sep 2022 15:58:49 -0700

On Wed, Sep 21, 2022 at 10:46:45PM +0000, Dmitry Karpov via curl-library wrote:
> I think that my proposal will provide useful customization for dual-stack curl applications, and I am not sure that I fully understand your objections like " It might in your situation, but it wouldn't in everybody else's.".

My point is that adding a callback doesn't fix anything on its own. An
application would need to add a function to be called back, and so far, your
application is the only one that would currently use it. I suspect there is a
better way to solve this issue. For example, you didn't answer this question
from my last message:

  If Curl_ipv6works() were not called in the CURL_IPRESOLVE_V6 case, would
  that solve the issues that are remaining?

Since you're calling it a regression, then where did that regression occur? Was
it in libcurl or in the kernel? Maybe this problem needs to be solved
elsewhere.

Dan
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-09-22