about summary refs log tree commit homepage
path: root/lib/rainbows/rev/deferred_response.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-07 12:42:57 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-07 12:42:57 -0800
commit129473b7c69e08b23825a2b067ccd9860cea797e (patch)
tree3ee634ce3538ee0a0e2ba2d5fc741a78da18e8a6 /lib/rainbows/rev/deferred_response.rb
parent7e35ea595f4742ace9579402323515031d69fc87 (diff)
downloadrainbows-129473b7c69e08b23825a2b067ccd9860cea797e.tar.gz
In the upcoming RevThread* models, the parser may be parsing
other requests already by the time DeferredResponse is called.
Diffstat (limited to 'lib/rainbows/rev/deferred_response.rb')
-rw-r--r--lib/rainbows/rev/deferred_response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/rev/deferred_response.rb b/lib/rainbows/rev/deferred_response.rb
index d97abbe..abf3514 100644
--- a/lib/rainbows/rev/deferred_response.rb
+++ b/lib/rainbows/rev/deferred_response.rb
@@ -39,7 +39,7 @@ module Rainbows
         else # char/block device, directory, whatever... nobody cares
           return response
         end
-        client.defer_body(io)
+        client.defer_body(io, out)
         [ response.first, headers.to_hash, [] ]
       end