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: How to get more information about error code 7

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 19 Mar 2020 22:46:49 +0100 (CET)

On Thu, 19 Mar 2020, Ray Satiro via curl-library wrote:

> CURLOPT_ERRORBUFFER can sometimes be used to obtain a more detailed error
> string. [3]

There's also CURLINFO_OS_ERRNO:

  https://curl.haxx.se/libcurl/c/CURLINFO_OS_ERRNO.html

... that can help explain why connect() failed.

-- 
  / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-03-19