about summary refs log tree commit homepage
path: root/lib/yahns/http_client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/http_client.rb')
-rw-r--r--lib/yahns/http_client.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/yahns/http_client.rb b/lib/yahns/http_client.rb
index 8171460..ff6e203 100644
--- a/lib/yahns/http_client.rb
+++ b/lib/yahns/http_client.rb
@@ -5,6 +5,9 @@ require 'yahns/tiny_input'
 class Yahns::HttpClient < Kgio::Socket # :nodoc:
   NULL_IO = Yahns::TinyInput.new("")
 
+  # FIXME: we shouldn't have this at all
+  Unicorn::HttpParser.keepalive_requests = 0xffffffff
+
   include Yahns::HttpResponse
   include Yahns::ClientExpire
   QEV_FLAGS = Yahns::Queue::QEV_RD # used by acceptor