Announcement

Collapse
No announcement yet.

Change CurlRequestOptions.bVerifyPeer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change CurlRequestOptions.bVerifyPeer

    Hi,
    FCurlHttpManager::CurlRequestOptions.bVerifyPeer is default set to true. I need change this value to false. How can I do this?

    Code:
    if (FCurlHttpManager::CurlRequestOptions.bVerifyPeer)
    {
    	curl_easy_setopt(EasyHandle, CURLOPT_SSL_VERIFYPEER, 1L);
    }
    else
    {
    	curl_easy_setopt(EasyHandle, CURLOPT_SSL_VERIFYPEER, 0L);
    }
    Thank you.
Working...
X