1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 23:25:57 +00:00

increase buffersize to 16384 bytes

(also some trailing whitespace got clipped)
This commit is contained in:
Andrew Dolgov
2018-05-23 10:40:22 +03:00
parent f7253dbb4e
commit f0dbfedc81

View File

@@ -409,7 +409,7 @@
if ($max_size) {
curl_setopt($ch, CURLOPT_NOPROGRESS, false);
curl_setopt($ch, CURLOPT_BUFFERSIZE, 256); // needed to get 5 arguments in progress function?
curl_setopt($ch, CURLOPT_BUFFERSIZE, 16384); // needed to get 5 arguments in progress function?
// holy shit closures in php
// download & upload are *expected* sizes respectively, could be zero