|
@@ -301,7 +301,7 @@ |
|
|
block discarded – undo |
|
301
|
301
|
// Prepare cURL options: force HTTP/1.1 and resume from last byte on retries |
|
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
|
]; |
|
306
|
306
|
if ($attempt > 1 && file_exists($tempFilename)) { |
|
307
|
307
|
$curlOpts[CURLOPT_RESUME_FROM] = filesize($tempFilename); |
Please login to merge, or discard this patch.