event_machine: avoid close on deferred response
[rainbows.git] / lib / rainbows / rev.rb
blobb0a894079f49ca4a6f15f957ab2e24ea36ff4c7f
1 # -*- encoding: binary -*-
2 Rainbows.const_set(:Rev, Rainbows::Coolio)
3 # Coolio is the new version of this, use that instead.
5 # Implements a basic single-threaded event model with
6 # {Rev}[http://rev.rubyforge.org/].  It is capable of handling
7 # thousands of simultaneous client connections, but with only a
8 # single-threaded app dispatch.  It is suited for slow clients and
9 # fast applications (applications that do not have slow network
10 # dependencies) or applications that use DevFdResponse for deferrable
11 # response bodies.  It does not require your Rack application to be
12 # thread-safe, reentrancy is only required for the DevFdResponse body
13 # generator.
15 # Compatibility: Whatever \Rev itself supports, currently Ruby
16 # 1.8/1.9.
18 # This model does not implement as streaming "rack.input" which
19 # allows the Rack application to process data as it arrives.  This
20 # means "rack.input" will be fully buffered in memory or to a
21 # temporary file before the application is entered.
22 module Rainbows::Rev; end