synchronous controllers taking 6 seconds in Eventmachine config

Christoph Sturm me at
Wed Sep 15 09:46:05 EDT 2010

hello rainbows friends!

we use rainbows in eventmachine mode, and it seems there's a bug in handling of synchronous responses.

this controller takes 6 seconds:

def call(env)

this only occurs when i dont set a content length, for example this controller returns immedately:

def call
   [200, {'Content-Length' => 2}, ['OK']]

it also doesnt seem to be eventmachine specific, if i remove the use  :Eventmachine it also happens.


More information about the rainbows-talk mailing list