summary refs log tree commit
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2015-08-25 10:59:27 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2015-08-25 10:59:27 -0300
commitcb2fdee2c553374effe4b50ac13c3122bfccf49d (patch)
treea2b07055c3e2c5ac52f467be87a6f1a0e1116f01
parentdde5b68b8265f03114c111a0c39000b3b8af6485 (diff)
parentd49341eef30972d257a71f1e9d33c3e11812ebfb (diff)
downloadrack-cb2fdee2c553374effe4b50ac13c3122bfccf49d.tar.gz
Merge pull request #927 from deepj/remove-deprecated-part
Remove RACK_MULTIPART_LIMIT introduced by a mistake
-rw-r--r--lib/rack/utils.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rack/utils.rb b/lib/rack/utils.rb
index 9aef6ce0..303821fa 100644
--- a/lib/rack/utils.rb
+++ b/lib/rack/utils.rb
@@ -53,8 +53,7 @@ module Rack
     # The maximum number of parts a request can contain. Accepting too many part
     # can lead to the server running out of file handles.
     # Set to `0` for no limit.
-    # FIXME: RACK_MULTIPART_LIMIT was introduced by mistake and it will be removed in 1.7.0
-    self.multipart_part_limit = (ENV['RACK_MULTIPART_PART_LIMIT'] || ENV['RACK_MULTIPART_LIMIT'] || 128).to_i
+    self.multipart_part_limit = (ENV['RACK_MULTIPART_PART_LIMIT'] || 128).to_i
 
     def self.param_depth_limit
       default_query_parser.param_depth_limit