https ignore server pert check.

This commit is contained in:
u0u0
2024-03-11 16:49:41 +08:00
parent 4e2e8df7dd
commit b799e57692

View File

@@ -88,6 +88,9 @@ bool HTTPRequest::initWithUrl(const char *url, int method)
curl_easy_setopt(m_curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(m_curl, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(m_curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_easy_setopt(m_curl, CURLOPT_SSL_VERIFYHOST, 0);
switch (method) {
case kCCHTTPRequestMethodGET:
curl_easy_setopt(m_curl, CURLOPT_CUSTOMREQUEST, "GET");