about summary refs log tree commit homepage
path: root/lib/yahns/http_context.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/http_context.rb')
-rw-r--r--lib/yahns/http_context.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/http_context.rb b/lib/yahns/http_context.rb
index 13b8686..1554086 100644
--- a/lib/yahns/http_context.rb
+++ b/lib/yahns/http_context.rb
@@ -46,7 +46,7 @@ module Yahns::HttpContext # :nodoc:
 
   def __wrap_app(app)
     # input_buffering == false is handled in http_client
-    return app if @client_max_body_size == nil
+    return app if @client_max_body_size.nil?
 
     require_relative 'cap_input'
     return app if @input_buffering == true