diff options
Diffstat (limited to 'lib/yahns/http_client.rb')
-rw-r--r-- | lib/yahns/http_client.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/yahns/http_client.rb b/lib/yahns/http_client.rb index db53587..8a341f9 100644 --- a/lib/yahns/http_client.rb +++ b/lib/yahns/http_client.rb @@ -2,11 +2,7 @@ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net> # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) class Yahns::HttpClient < Kgio::Socket # :nodoc: - NULL_IO = StringIO.new("") - - # FIXME: we shouldn't have this at all when we go Unicorn 5-only - Unicorn::HttpParser.respond_to?(:keepalive_requests=) and - Unicorn::HttpParser.keepalive_requests = 0xffffffff + NULL_IO = StringIO.new('') # :nodoc: include Yahns::HttpResponse QEV_FLAGS = Yahns::Queue::QEV_RD # used by acceptor |