stable

Clone or download

Read-only

request #10862: Downloading large files might reach PHP memory limit if buffering is enabled

As indicated in the PHP documentation [1] we might want to disable buffering before using readfile() on large files to avoid memory issues. [1] https://secure.php.net/manual/en/function.readfile.php#refsect1-function.readfile-notes Change-Id: I68adb7fa8e3929e813796457f0d1996cb2db490a

Modified Files

Name
M plugins/docman/include/view/Docman_View_Download.class.php +21 −9 Go to diff View file
M plugins/forumml/www/upload.php +3 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_File.class.php +3 −0 Go to diff View file
M src/www/tracker/download.php +3 −0 Go to diff View file