about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-05-03 17:56:00 -0700
committerEric Wong <normalperson@yhbt.net>2010-05-03 17:56:00 -0700
commitde3bcfe3ba9402bd510f7414df1763b6b99dae47 (patch)
tree180526ea73118ed9e3b0cc606684288991875b72 /lib/rainbows.rb
parent54cae80e543a6f4ca6456fe07b88aba867d215a6 (diff)
downloadrainbows-de3bcfe3ba9402bd510f7414df1763b6b99dae47.tar.gz
WAvoid mucking with Unicorn::TeeInput, since other apps may
depend on that class, so we subclass it as Rainbows::TeeInput
and modify as necessary in worker processes.

For Revactor, remove the special-cased
Rainbows::Revactor::TeeInput class and instead emulate
readpartial for Revactor sockets instead.
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r--lib/rainbows.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb
index ad4e564..3d1dc20 100644
--- a/lib/rainbows.rb
+++ b/lib/rainbows.rb
@@ -29,6 +29,7 @@ module Rainbows
   require 'rainbows/http_server'
   require 'rainbows/http_response'
   require 'rainbows/base'
+  require 'rainbows/tee_input'
   autoload :AppPool, 'rainbows/app_pool'
   autoload :DevFdResponse, 'rainbows/dev_fd_response'
   autoload :MaxBody, 'rainbows/max_body'