diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-02 01:09:36 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-02 09:59:44 -0800 |
commit | 5c16fb386508de6eccda9d0b1cf3995e98717543 (patch) | |
tree | a004c7cf4fd0607f510c53b3240f046476f41925 | |
parent | 355dab7d84e0baeec896c2efc1744785a782da35 (diff) | |
download | rainbows-5c16fb386508de6eccda9d0b1cf3995e98717543.tar.gz |
We don't use it in EventMachine since EM has its own built-in ways to handle deferred bodies.
-rw-r--r-- | lib/rainbows/ev_core.rb | 1 | ||||
-rw-r--r-- | lib/rainbows/rev.rb | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/ev_core.rb b/lib/rainbows/ev_core.rb index d8304a3..9716d6b 100644 --- a/lib/rainbows/ev_core.rb +++ b/lib/rainbows/ev_core.rb @@ -14,7 +14,6 @@ module Rainbows @hp = HttpParser.new @state = :headers # [ :body [ :trailers ] ] :app_call :close @buf = "" - @deferred_bodies = [] # for (fast) regular files only end # graceful exit, like SIGQUIT diff --git a/lib/rainbows/rev.rb b/lib/rainbows/rev.rb index a1a4e6a..c4c77bd 100644 --- a/lib/rainbows/rev.rb +++ b/lib/rainbows/rev.rb @@ -34,6 +34,7 @@ module Rainbows G.cur += 1 super(io) post_init + @deferred_bodies = [] # for (fast) regular files only end # queued, optional response bodies, it should only be unpollable "fast" |