]> git.wh0rd.org - tt-rss.git/commitdiff
increased CURLOPT_BUFFERSIZE from 128 to 256
authorAlexander Yaburov <impa@taximaxim.ru>
Wed, 23 May 2018 05:02:03 +0000 (10:02 +0500)
committerAlexander Yaburov <impa@taximaxim.ru>
Wed, 23 May 2018 05:02:03 +0000 (10:02 +0500)
include/functions.php

index 85fc281fb9af80a950d31b18a9a4ceb7b15bae70..d54dacdc60e56c0c636824f3aa52d9a29e6a33cb 100755 (executable)
 
                        if ($max_size) {
                                curl_setopt($ch, CURLOPT_NOPROGRESS, false);
-                               curl_setopt($ch, CURLOPT_BUFFERSIZE, 128); // needed to get 5 arguments in progress function?
+                               curl_setopt($ch, CURLOPT_BUFFERSIZE, 256); // needed to get 5 arguments in progress function?
 
                                // holy shit closures in php
                                // download & upload are *expected* sizes respectively, could be zero