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 Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 22 Sep 2022 15:57:06 +0200 (CEST)

On Thu, 22 Sep 2022, Daniel F via curl-library wrote:

> You can consider another approach for this - add new global function
> curl_global_setopt. It would better fit how libcurl works now. This new
> function should be called after curl_global_init/curl_global_init_mem and
> before any other libcurl calls.

In theory, yes. We have however rather tried to decrease the use of globals
over time since they make things complicated in multi-threaded situations.

-- 
  / 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
Received on 2022-09-22