Permalink
Browse files

fix multi connection/part downloading file

  • Loading branch information...
zoghal committed Oct 27, 2013
1 parent 459de09 commit ab96ed56f34b5b88c5b50f17956154bec7507a96
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Network/CakeResponse.php
@@ -1374,6 +1374,7 @@ protected function _sendFile($file, $range) {
$bufferSize = 8192;
set_time_limit(0);
+ session_write_close();
while (!feof($file->handle)) {
if (!$this->_isActive()) {
$file->close();

0 comments on commit ab96ed5

Please sign in to comment.