From 2bb3f8fd600bd0aabe5e4d7c3d1f99d745fc8f49 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 9 Dec 2010 17:14:04 -0800 Subject: respect client_body_buffer_size in Unicorn 3.1.0 This is only needed for concurrency options that do not use TeeInput, since TeeInput automatically handles this for us. --- lib/rainbows/event_machine.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/rainbows/event_machine.rb') diff --git a/lib/rainbows/event_machine.rb b/lib/rainbows/event_machine.rb index a33fcf7..99fa32e 100644 --- a/lib/rainbows/event_machine.rb +++ b/lib/rainbows/event_machine.rb @@ -199,6 +199,7 @@ module Rainbows::EventMachine Server.const_set(:MAX, worker_connections + LISTENERS.size) Server.const_set(:CL, client_class) client_class.const_set(:APP, G.server.app) + Rainbows::EvCore.setup EM.run { conns = EM.instance_variable_get(:@conns) or raise RuntimeError, "EM @conns instance variable not accessible!" -- cgit v1.2.3-24-ge0c7