This error code was known as CURLE_FTP_WEIRD_SERVER_REPLY before 7.51.0. The server sent data libcurl could not parse. The given proxy host could not be resolved.Ĭould not resolve host. This means that a feature or option was not enabled or explicitly disabled when libcurl was built and in order to get it to function you have to get a rebuilt libcurl.Ĭould not resolve proxy. This is likely to be an internal error or problem, or a resource problem where something fundamental could not get done at init time.Ī requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. 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 Name
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |