Moved verbose option to be done even if a file is downloaded.

This commit is contained in:
hiker 2014-01-21 08:12:08 +11:00
parent 260f4f148d
commit f33d547c54

View File

@ -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