forked from Mirrors/flatpak-builder
parent
4e8539ccd9
commit
4bb33efbd8
|
@ -1111,6 +1111,7 @@ flatpak_create_curl_session (const char *user_agent)
|
|||
return NULL;
|
||||
|
||||
curl_easy_setopt (curl_session, CURLOPT_CONNECTTIMEOUT, 60);
|
||||
curl_easy_setopt (curl_session, CURLOPT_FAILONERROR, 1);
|
||||
curl_easy_setopt (curl_session, CURLOPT_FOLLOWLOCATION, 1);
|
||||
curl_easy_setopt (curl_session, CURLOPT_MAXREDIRS, 50);
|
||||
curl_easy_setopt (curl_session, CURLOPT_NOPROGRESS, 0);
|
||||
|
|
Loading…
Reference in New Issue