lib/rainbows/max_body.rb in rainbows-2.0.1 vs lib/rainbows/max_body.rb in rainbows-2.1.0

- old
+ new

@@ -51,10 +51,12 @@ # this is called after forking, so it won't ever affect the master # if it's reconfigured def self.setup # :nodoc: Rainbows.max_bytes or return case Rainbows::G.server.use - when :Rev, :EventMachine, :NeverBlock, :RevThreadSpawn, :RevThreadPool + when :Rev, :Coolio, :EventMachine, :NeverBlock, + :RevThreadSpawn, :RevThreadPool, + :CoolioThreadSpawn, :CoolioThreadPool return end # force ourselves to the outermost middleware layer Rainbows::G.server.app = self.new(Rainbows::G.server.app)