diff options
Diffstat (limited to 'lib/rainbows/base.rb')
-rw-r--r-- | lib/rainbows/base.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/rainbows/base.rb b/lib/rainbows/base.rb index bf9ef87..5d56063 100644 --- a/lib/rainbows/base.rb +++ b/lib/rainbows/base.rb @@ -6,9 +6,7 @@ # not intended for production use, as keepalive with a pure prefork # concurrency model is extremely expensive. module Rainbows::Base - # :stopdoc: - include Rainbows::ProcessClient # shortcuts... G = Rainbows::G @@ -34,6 +32,10 @@ module Rainbows::Base logger.info "Rainbows! #@use worker_connections=#@worker_connections" end + def process_client(client) + client.process_loop + end + def self.included(klass) # :nodoc: klass.const_set :LISTENERS, Rainbows::HttpServer::LISTENERS klass.const_set :G, Rainbows::G |