Moved verbose option to be done even if a file is downloaded.
This commit is contained in:
parent
260f4f148d
commit
f33d547c54
@ -144,6 +144,7 @@ namespace Online
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_CONNECTTIMEOUT, 20);
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_LOW_SPEED_LIMIT, 10);
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_LOW_SPEED_TIME, 20);
|
||||
//curl_easy_setopt(m_curl_session, CURLOPT_VERBOSE, 1L);
|
||||
if(m_filename.size()==0)
|
||||
{
|
||||
//https
|
||||
@ -153,7 +154,7 @@ namespace Online
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_CAINFO,
|
||||
file_manager->getAsset("web.tuxfamily.org.pem").c_str());
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_SSL_VERIFYPEER, 0L);
|
||||
//curl_easy_setopt(m_curl_session, CURLOPT_VERBOSE, 1L);
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||
}
|
||||
} // prepareOperation
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user