CC-2287: Files greater than 100MB are not being played

-increased chunk read size
This commit is contained in:
martin 2011-05-20 16:03:31 -04:00
parent 10f72f8c65
commit ebd93cd55a
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class ApiController extends Zend_Controller_Action
//flush the file contents 16 KBytes at a time. In the future we may
//want to use the "X-Sendfile header" method instead.
while (!feof($fp)) {
echo fread($fp, 16*1024);
echo fread($fp, 64*1024);
ob_end_flush();
}
fclose($fp);