mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Use small timeouts with cURL
This commit is contained in:
parent
4b8623f408
commit
61bd9261bf
@ -510,6 +510,8 @@ CheckForUpdates ()
|
||||
curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1);
|
||||
curl_easy_setopt (curl, CURLOPT_FAILONERROR, 1);
|
||||
curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1);
|
||||
curl_easy_setopt (curl, CURLOPT_TIMEOUT, 20);
|
||||
curl_easy_setopt (curl, CURLOPT_CONNECTTIMEOUT, 5);
|
||||
|
||||
curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, updateCallback);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user