This commit is contained in:
2021-03-05 12:00:58 +08:00
parent 03ee924d49
commit 50fd706577
-2
View File
@@ -281,7 +281,6 @@ class Response extends HttpService
$stat = fstat($open);
$this->response->setHeader('Content-Length', $stat['size']);
while ($file = fread($open, $limit)) {
$this->response->write($file);
fseek($open, $offset);
@@ -291,7 +290,6 @@ class Response extends HttpService
}
$offset += $limit;
}
$this->response = null;
}