From d2685d0a7e2d75e3f334dc18babfcc53f53aa973 Mon Sep 17 00:00:00 2001 From: Damien Nozay Date: Fri, 24 Oct 2014 09:14:19 +0100 Subject: Bug 1073264 - allow attachment download to be offloaded to the webserver using X-SendFile or equivalent. r=gerv, a=glob. --- Bugzilla/Config/Attachment.pm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Bugzilla/Config') diff --git a/Bugzilla/Config/Attachment.pm b/Bugzilla/Config/Attachment.pm index 580ec46d9..5bf854293 100644 --- a/Bugzilla/Config/Attachment.pm +++ b/Bugzilla/Config/Attachment.pm @@ -37,6 +37,14 @@ sub get_param_list { default => 0 }, + { + name => 'xsendfile_header', + type => 's', + choices => ['off', 'X-Sendfile', 'X-Accel-Redirect', 'X-LIGHTTPD-send-file'], + default => 'off', + checker => \&check_multi + }, + { name => 'maxattachmentsize', type => 't', -- cgit v1.2.3-24-g4f1b