class ActionController::Live::Buffer

def abort

See also #close.

anything that's being written.
disconnected; the reading thread is no longer interested in
Inform the producer/writing thread that the client has
def abort
  synchronize do
    @aborted = true
    @buf.clear
  end
end