diff options
Diffstat (limited to 'lib/rainbows/response.rb')
-rw-r--r-- | lib/rainbows/response.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rainbows/response.rb b/lib/rainbows/response.rb index 9a46659..4992696 100644 --- a/lib/rainbows/response.rb +++ b/lib/rainbows/response.rb @@ -12,7 +12,8 @@ module Rainbows::Response # called after forking def self.setup(klass) Kgio.accept_class = Rainbows::Client - 0 == Rainbows::G.kato and Rainbows::HttpParser.keepalive_requests = 0 + 0 == Rainbows.keepalive_timeout and + Rainbows::HttpParser.keepalive_requests = 0 end def write_headers(status, headers, alive) |