aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-04-07 15:08:21 +0200
committerGitHub <noreply@github.com>2022-04-07 15:08:21 +0200
commitfb7f65a687ba426188148b3ebbf295ee307c7bc4 (patch)
treea9d4eb0ccff4333f0eccd0723ee94308fddf5223 /lib/private/legacy
parent8b53b6dc9ef15c37a8c05d4ea2afee28506f0383 (diff)
parent854890a7345788684764026922b2fd2f3e6bd573 (diff)
downloadnextcloud-server-fb7f65a687ba426188148b3ebbf295ee307c7bc4.tar.gz
nextcloud-server-fb7f65a687ba426188148b3ebbf295ee307c7bc4.zip
Merge pull request #25747 from nextcloud/XAccelBuffering
Add X-Accel-Buffering header to downloads
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_Files.php1
1 files changed, 1 insertions, 0 deletions
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');
}
/**