From 31cf77e7aa2f2e6065e7ace44e55c3f042b51f1b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 16 Nov 2010 16:16:42 -0800 Subject: reimplement client_max_body_size handlers This allows the client_max_body_size implementation to not rely on Unicorn::TeeInput internals, allowing it to be used with Unicorn::StreamInput (or any other (nearly) Rack::Lint-compatible input object). --- lib/rainbows/process_client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rainbows/process_client.rb') diff --git a/lib/rainbows/process_client.rb b/lib/rainbows/process_client.rb index d66c1ae..143a7a9 100644 --- a/lib/rainbows/process_client.rb +++ b/lib/rainbows/process_client.rb @@ -6,7 +6,7 @@ module Rainbows::ProcessClient HttpParser = Unicorn::HttpParser NULL_IO = Unicorn::HttpRequest::NULL_IO RACK_INPUT = Unicorn::HttpRequest::RACK_INPUT - TeeInput = Rainbows::TeeInput + TeeInput = Unicorn::TeeInput include Rainbows::Const # once a client is accepted, it is processed in its entirety here -- cgit v1.2.3-24-ge0c7