From 854890a7345788684764026922b2fd2f3e6bd573 Mon Sep 17 00:00:00 2001 From: Unpublished Date: Mon, 22 Feb 2021 15:59:26 +0100 Subject: Add X-Accel-Buffering header to downloads Signed-off-by: Unpublished --- lib/private/legacy/OC_Files.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/private/legacy/OC_Files.php') diff --git a/lib/private/legacy/OC_Files.php b/lib/private/legacy/OC_Files.php index d1af5b24bdd..41ac20577b2 100644 --- a/lib/private/legacy/OC_Files.php +++ b/lib/private/legacy/OC_Files.php @@ -98,6 +98,7 @@ class OC_Files { } } header('Content-Type: '.$type, true); + header('X-Accel-Buffering: no'); } /** -- cgit v1.2.3