Parcourir la source

increased CURLOPT_BUFFERSIZE from 128 to 256

Alexander Yaburov il y a 6 ans
Parent
commit
74a98a6ff2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      include/functions.php

+ 1 - 1
include/functions.php

@@ -409,7 +409,7 @@
 
 			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