mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
fix multi connection/part downloading file
This commit is contained in:
parent
459de09144
commit
ab96ed56f3
1 changed files with 1 additions and 0 deletions
|
@ -1374,6 +1374,7 @@ class CakeResponse {
|
|||
|
||||
$bufferSize = 8192;
|
||||
set_time_limit(0);
|
||||
session_write_close();
|
||||
while (!feof($file->handle)) {
|
||||
if (!$this->_isActive()) {
|
||||
$file->close();
|
||||
|
|
Loading…
Reference in a new issue