about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-11-20 03:53:45 +0000
committerEric Wong <e@80x24.org>2014-11-20 20:34:42 +0000
commitbb5b309f067269eada57b775ff111b488ed9a83e (patch)
treea1142d5a969dd65aa1291c96e052465535035426 /lib
parent682b981503b0e54f44bdefff60d7fc062d8ad1e2 (diff)
downloadyahns-bb5b309f067269eada57b775ff111b488ed9a83e.tar.gz
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/yahns/config.rb1
-rw-r--r--lib/yahns/http_context.rb1
2 files changed, 0 insertions, 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