about summary refs log tree commit homepage
path: root/lib/rainbows/rev.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-02 01:09:36 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-02 09:59:44 -0800
commit5c16fb386508de6eccda9d0b1cf3995e98717543 (patch)
treea004c7cf4fd0607f510c53b3240f046476f41925 /lib/rainbows/rev.rb
parent355dab7d84e0baeec896c2efc1744785a782da35 (diff)
downloadrainbows-5c16fb386508de6eccda9d0b1cf3995e98717543.tar.gz
We don't use it in EventMachine since EM has its own
built-in ways to handle deferred bodies.
Diffstat (limited to 'lib/rainbows/rev.rb')
-rw-r--r--lib/rainbows/rev.rb1
1 files changed, 1 insertions, 0 deletions
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"