We may not be able to support this in a more performant
way just yet.  Since this was never documented, we'll remove
the the current knobs for silently setting and ignoring it.

Users should use Unicorn::HttpParser.max_header_len= for now,
instead.  We may change Unicorn::HttpParser in the future if enough
people care about making this functionality per-app.
---
 lib/yahns/config.rb       | 1 -
 lib/yahns/http_context.rb | 1 -
 2 files changed, 2 deletions(-)

diff --git a/lib/yahns/config.rb b/lib/yahns/config.rb
index 4ea51af..3055539 100644
--- a/lib/yahns/config.rb
+++ b/lib/yahns/config.rb
@@ -363,7 +363,6 @@ class Yahns::Config # :nodoc:
     # config name, minimum value
     client_body_buffer_size: 1,
     client_header_buffer_size: 1,
-    client_max_header_size: 1,
   }.each do |_v,minval|
     eval(
     %Q(def #{_v}(val);) <<
diff --git a/lib/yahns/http_context.rb b/lib/yahns/http_context.rb
index 349e129..73bb49a 100644
--- a/lib/yahns/http_context.rb
+++ b/lib/yahns/http_context.rb
@@ -9,7 +9,6 @@ module Yahns::HttpContext # :nodoc:
   attr_accessor :client_body_buffer_size
   attr_accessor :client_header_buffer_size
   attr_accessor :client_max_body_size
-  attr_accessor :client_max_header_size
   attr_accessor :input_buffering  # :lazy, true, false
   attr_accessor :output_buffering # true, false
   attr_accessor :persistent_connections # true or false only
-- 
EW


Reply via email to