1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Adds Rack::ContentLength (#17403).

git-svn-id: http://svn.redmine.org/redmine/trunk@14632 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-09-30 20:40:51 +00:00
parent 3a69245625
commit f0323575f9

View File

@ -54,6 +54,9 @@ module RedmineApp
# and extracted to actionpack-xml_parser gem
config.middleware.insert_after ActionDispatch::ParamsParser, ActionDispatch::XmlParamsParser
# Sets the Content-Length header on responses with fixed-length bodies
config.middleware.use Rack::ContentLength
# Specific cache for search results, the default file store cache is not
# a good option as it could grow fast. A memory store (32MB max) is used
# as the default. If you're running multiple server processes, it's