curl_easy_setopt

This commit is contained in:
jl777
2019-03-29 02:04:42 -11:00
parent cdd520ef60
commit cd66407853

View File

@@ -203,7 +203,8 @@ try_again:
curl_easy_setopt(curl_handle,CURLOPT_WRITEDATA, &s); // we pass our 's' struct to the callback
curl_easy_setopt(curl_handle,CURLOPT_NOSIGNAL, 1L); // supposed to fix "Alarm clock" and long jump crash
curl_easy_setopt(curl_handle,CURLOPT_NOPROGRESS, 1L); // no progress callback
curl_easy_setopt(curl_handle, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
//curl_easy_setopt(curl_handle, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
curl_easy_setopt(curl_handle, CURLOPT_SSLVERSION, 3);
if ( strncmp(url,"https",5) == 0 )
{