module ActionController::Live

def new_controller_thread # :nodoc:

:nodoc:
this method except in Rails internals. Seriously!
a thread to stream data from the response bodies. Nobody should call
around the fact that Rack isn't based around IOs and we need to use
Spawn a new thread to serve up the controller in. This is to get
def new_controller_thread # :nodoc:
  Thread.new {
    t2 = Thread.current
    t2.abort_on_exception = true
    yield
  }
end