mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-02-01 21:42:31 +01:00
increase the connection timeout to 10 seconds in API
This commit is contained in:
parent
dab6bd937e
commit
57415af1c1
@ -38,7 +38,7 @@ API::API(const std::string& token, const std::string& secret)
|
||||
curl_easy_setopt(curlhandle, CURLOPT_VERBOSE, 0);
|
||||
curl_easy_setopt(curlhandle, CURLOPT_FOLLOWLOCATION, 1);
|
||||
curl_easy_setopt(curlhandle, CURLOPT_NOPROGRESS, 1);
|
||||
curl_easy_setopt(curlhandle, CURLOPT_CONNECTTIMEOUT, 5);
|
||||
curl_easy_setopt(curlhandle, CURLOPT_CONNECTTIMEOUT, 10);
|
||||
curl_easy_setopt(curlhandle, CURLOPT_PROGRESSDATA, this);
|
||||
curl_easy_setopt(curlhandle, CURLOPT_FAILONERROR, true);
|
||||
curl_easy_setopt(curlhandle, CURLOPT_SSL_VERIFYPEER, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user