Project

General

Profile

« Previous | Next » 

Revision d98d6f7f

Added by Scott Ullrich over 14 years ago

Boost timeout for file downloads to 60 seconds

View differences:

etc/inc/pfsense-utils.inc
1454 1454
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
1455 1455
        curl_setopt($ch, CURLOPT_WRITEFUNCTION, $readbody);
1456 1456
        curl_setopt($ch, CURLOPT_NOPROGRESS, '1');
1457
        curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, '5');
1457
        curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, '60');
1458 1458
        curl_setopt($ch, CURLOPT_TIMEOUT, 0);
1459 1459

  
1460 1460
        curl_exec($ch);

Also available in: Unified diff