mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +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…
Add table
Reference in a new issue