|
Main sidebar
|
PITS /
01199Summary: HandleDownload can truncate files, needs to flush before exit
Created: 2010-05-27 04:47
Status: Closed - fixed for 2.2.17
Category: Bug
Assigned:
Priority: 5
Version: 2.2.16
OS: Linux/Apache 2.0.63/PHP 5.2.8
Description: A certain files was getting truncated on download. I amended HandleDownload() to flush():
if ($fp) {
while (!feof($fp)) echo fread($fp, 4096);
flush();
fclose($fp);
}
and it fixed it.
Thanks, added for 2.2.17. --Petko May 27, 2010, at 03:30 PM |