请问大家,ios调用Cocos2dx的CCHttpClient请求https是可以的,
可是为何用安卓的话会返回Protocol https not supported or disabled in libcurl,不支持https呢?
两个地方也加上了:
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
谢谢。
请问大家,ios调用Cocos2dx的CCHttpClient请求https是可以的,
可是为何用安卓的话会返回Protocol https not supported or disabled in libcurl,不支持https呢?
两个地方也加上了:
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
谢谢。
楼主解决这个问题了么