


The support might be a compile-time option that you did not use, it can be a misspelled protocol string or just a protocol libcurl has no code for.Įarly initialization code failed. The URL you passed to libcurl used a protocol that this libcurl does not support. curl_easy_strerror can be called to get an error string from a given CURLcode number. No matter what, using the curl_easy_setopt option CURLOPT_ERRORBUFFER is a good idea as it will give you a human readable error string that may offer more details about the cause of the error than just the error code. CurlcodeĪlmost all "easy" interface functions return a CURLcode error code. Why they occur and possibly what you can do to fix the problem are also included. This man page includes most, if not all, available error codes in libcurl.

Libcurl-errors - error codes in libcurl Description Curl / libcurl / API / Error Codes libcurl error codes
