Closed NiroDeveloper closed 1 month ago
2.5.2
11.19.0
8.3
Swoole
5.1.3
No response
If you sent files via a BinaryFileResponse and call deleteFileAfterSend(), then octane will not delete the file after sending.
return response()->file($tempFile)->deleteFileAfterSend();
deleteFileAfterSend isn't a documented Laravel method and can't ever work with Octane because Octane uses long running requests.
deleteFileAfterSend
Octane Version
2.5.2
Laravel Version
11.19.0
PHP Version
8.3
What server type are you using?
Swoole
Server Version
5.1.3
Database Driver & Version
No response
Description
If you sent files via a BinaryFileResponse and call deleteFileAfterSend(), then octane will not delete the file after sending.
Steps To Reproduce
return response()->file($tempFile)->deleteFileAfterSend();