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: Feature request: provide ability to set a global callback function telling libcurl if IPv6 works on the system

From: Daniel Stenberg via curl-library <>
Date: Tue, 20 Sep 2022 09:04:30 +0200 (CEST)

On Tue, 20 Sep 2022, Daniel F via curl-library wrote:

> This is not true. Application can be built using curl with IPv6 enabled
> (e.g. using RedHat 8 base docker image), then executed on another
> system/machine with IPv6 disabled. If I remember correctly, attempt to
> create IPv6 socket failed with error.

Ah, ok then I was wrong.

Another approach could then perhaps be to make curl deal with such failures in
a better/fallback way to avoid needing the dynamic "ipv6-works" flag ?

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2022-09-20