fix multi connection/part downloading file

This commit is contained in:
Saleh Souzanchi 2013-10-28 01:06:33 +03:30
parent 459de09144
commit ab96ed56f3

View file

@ -1374,6 +1374,7 @@ class CakeResponse {
$bufferSize = 8192;
set_time_limit(0);
session_write_close();
while (!feof($file->handle)) {
if (!$this->_isActive()) {
$file->close();