summary refs log tree commit
diff options
context:
space:
mode:
authordeepj <deepjungle.maca@gmail.com>2015-08-22 21:14:23 +0200
committerdeepj <deepjungle.maca@gmail.com>2015-08-22 21:14:23 +0200
commitd49341eef30972d257a71f1e9d33c3e11812ebfb (patch)
treee4d873f675af7a7da9c0eb47b34f0685a6f67035
parentbe777e06bf4de18a7786af1e44647e1498ec1a5d (diff)
downloadrack-d49341eef30972d257a71f1e9d33c3e11812ebfb.tar.gz
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 fe8a51d6..9f056517 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