From 3a250fcfb9fcfa0ab3a8105821e670563025faa4 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 27 Dec 2010 07:18:49 +0000 Subject: initial cool.io support Cool.io is the new name for Rev. We'll continue to support Rev until Cool.io breaks backwards compatibility. Rev may not be supported if Cool.io is. --- lib/rainbows/max_body.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/rainbows/max_body.rb') diff --git a/lib/rainbows/max_body.rb b/lib/rainbows/max_body.rb index 9c9539f..878b04d 100644 --- a/lib/rainbows/max_body.rb +++ b/lib/rainbows/max_body.rb @@ -53,7 +53,9 @@ class Rainbows::MaxBody 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 -- cgit v1.2.3-24-ge0c7