diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-11-16 16:16:42 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-11-16 16:21:33 -0800 |
commit | 31cf77e7aa2f2e6065e7ace44e55c3f042b51f1b (patch) | |
tree | 7dfd53c499cbf7a52165d3480d56d8576a743781 /lib/rainbows/revactor.rb | |
parent | 42747db815ad668b20849afb2a9dcdd1319713ae (diff) | |
download | rainbows-31cf77e7aa2f2e6065e7ace44e55c3f042b51f1b.tar.gz |
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).
Diffstat (limited to 'lib/rainbows/revactor.rb')
-rw-r--r-- | lib/rainbows/revactor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/revactor.rb b/lib/rainbows/revactor.rb index a0b4bbf..9e69251 100644 --- a/lib/rainbows/revactor.rb +++ b/lib/rainbows/revactor.rb @@ -51,7 +51,7 @@ module Rainbows::Revactor env[CLIENT_IO] = client env[RACK_INPUT] = 0 == hp.content_length ? - NULL_IO : TeeInput.new(TeeSocket.new(client), hp) + NULL_IO : Unicorn::TeeInput.new(TeeSocket.new(client), hp) env[REMOTE_ADDR] = remote_addr status, headers, body = app.call(env.update(RACK_DEFAULTS)) |