From de3bcfe3ba9402bd510f7414df1763b6b99dae47 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 3 May 2010 17:56:00 -0700 Subject: cleanup request size limiting for TeeInput users 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. --- lib/rainbows.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/rainbows.rb') 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' -- cgit v1.2.3-24-ge0c7