about summary refs log tree commit homepage
path: root/lib/rainbows/revactor.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-03 16:14:57 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-03 16:17:16 -0700
commit5b14ec54da4b3dcd52c8755b6a036e5e94a565d1 (patch)
treeea90c4450dee5442fbcb9a804513211b2f035af0 /lib/rainbows/revactor.rb
parenta86d3be33ef2b433370df66d2ba026ab03b305b7 (diff)
downloadrainbows-5b14ec54da4b3dcd52c8755b6a036e5e94a565d1.tar.gz
They're similar enough (especially as far as the constants go)
and allows a :Base to be used which basically acts like plain
Unicorn but with HTTP keepalive + pipelining support
Diffstat (limited to 'lib/rainbows/revactor.rb')
-rw-r--r--lib/rainbows/revactor.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rainbows/revactor.rb b/lib/rainbows/revactor.rb
index d2e28ff..f602183 100644
--- a/lib/rainbows/revactor.rb
+++ b/lib/rainbows/revactor.rb
@@ -10,9 +10,7 @@ module Rainbows
   module Revactor
     require 'rainbows/revactor/tee_input'
 
-    include Unicorn
-    include Rainbows::Const
-    HttpServer.constants.each  { |x| const_set(x, HttpServer.const_get(x)) }
+    include Base
 
     # once a client is accepted, it is processed in its entirety here
     # in 3 easy steps: read request, call app, write app response