Use libcurl under windows

curl_easy_perform返回1,unsupported protocol  

Need to download supported libcurl ( https://curl.haxx.se/windows/ )

curl_easy_perform returns 60

curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

/*Turn off SSL verification*/

curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);

 

Guess you like

Origin blog.csdn.net/woailp___2005/article/details/108725462