|
@@ -301,7 +301,7 @@ |
|
|
block discarded – undo |
|
301
|
301
|
// Prepare cURL options: force HTTP/1.1 and resume from last byte if file exists |
|
302
|
302
|
$curlOpts = [ |
|
303
|
303
|
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, |
|
304
|
|
- CURLOPT_BUFFERSIZE => 128*1024, // 128 KB chunks instead of default 16 KB |
|
|
304
|
+ CURLOPT_BUFFERSIZE => 128 * 1024, // 128 KB chunks instead of default 16 KB |
|
305
|
305
|
// Increase timeouts for large files |
|
306
|
306
|
CURLOPT_CONNECTTIMEOUT => 60, |
|
307
|
307
|
CURLOPT_TIMEOUT => 300, |
Please login to merge, or discard this patch.