NOW MANAGED ON CODEBERG
Fixed streamed outputs in more extreme scenarios
Dan Brown6749faa89a9f
diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.phpindex ae1f4e4ba..4c979c26a 100644--- a/app/Http/Controllers/Controller.php+++ b/app/Http/Controllers/Controller.php@@ -127,6 +127,7 @@ abstract class Controller extends BaseControllerprotected function streamedDownloadResponse($stream, string $fileName): StreamedResponse{return response()->stream(function() use ($stream) {+ ob_end_clean();fpassthru($stream);fclose($stream);}, 200, [