diff options
author | Damien Nozay <damien.nozay@gmail.com> | 2014-10-24 10:14:19 +0200 |
---|---|---|
committer | Gervase Markham <gerv@gerv.net> | 2014-10-24 10:14:19 +0200 |
commit | d2685d0a7e2d75e3f334dc18babfcc53f53aa973 (patch) | |
tree | f464b10e91ee12e60f0b28a3b6f86a59d6a337e5 /Bugzilla/Config | |
parent | 424bbc87bd2c105c4c5c6aab6c3f101606a400ec (diff) | |
download | bugzilla-d2685d0a7e2d75e3f334dc18babfcc53f53aa973.tar.gz bugzilla-d2685d0a7e2d75e3f334dc18babfcc53f53aa973.tar.xz |
Bug 1073264 - allow attachment download to be offloaded to the webserver using X-SendFile or equivalent. r=gerv, a=glob.
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r-- | Bugzilla/Config/Attachment.pm | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -38,6 +38,14 @@ sub get_param_list { }, { + 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', default => '1000', |