From 1105a6957eed26a922a27bd6e6dbbc457524b664 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 15 Dec 2015 08:18:59 +0000 Subject: nodoc internals We do not expose any sort of API beyond what's in the config file manpage to our users. Do not mislead them into thinking we currently have a stable API (though I'm considering one). This avoids wasting disk space and installation time for users who do not have a: "gem: --no-ri --no-rdoc" line in their ~/.gemrc --- lib/yahns/http_client.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/yahns/http_client.rb') 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 # 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 -- cgit v1.2.3-24-ge0c7