reimplement client_max_body_size handlers
commit31cf77e7aa2f2e6065e7ace44e55c3f042b51f1b
authorEric Wong <normalperson@yhbt.net>
Wed, 17 Nov 2010 00:16:42 +0000 (16 16:16 -0800)
committerEric Wong <normalperson@yhbt.net>
Wed, 17 Nov 2010 00:21:33 +0000 (16 16:21 -0800)
tree7dfd53c499cbf7a52165d3480d56d8576a743781
parent42747db815ad668b20849afb2a9dcdd1319713ae
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.rb
lib/rainbows/max_body.rb
lib/rainbows/max_body/rewindable_wrapper.rb [new file with mode: 0644]
lib/rainbows/max_body/wrapper.rb [new file with mode: 0644]
lib/rainbows/process_client.rb
lib/rainbows/revactor.rb
lib/rainbows/tee_input.rb [deleted file]