about summary refs log tree commit homepage
path: root/lib/rainbows/ev_core.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-07 12:11:51 -0800
committerEric Wong <normalperson@yhbt.net>2010-12-08 13:32:44 -0800
commit1562a19a021a72a78ba495328d2d37ba0dc83b8c (patch)
treee86a23ed6484678936d57c1794980609069eafd0 /lib/rainbows/ev_core.rb
parentb4835c6d542c6369f2523ab68fc41b0202d7c6dc (diff)
downloadrainbows-1562a19a021a72a78ba495328d2d37ba0dc83b8c.tar.gz
Large uploads behave differently with regard to buffering,
and there were bugs in the way the Rev and Revactor backends
handled uploads.
Diffstat (limited to 'lib/rainbows/ev_core.rb')
-rw-r--r--lib/rainbows/ev_core.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rainbows/ev_core.rb b/lib/rainbows/ev_core.rb
index 8241584..46fdedf 100644
--- a/lib/rainbows/ev_core.rb
+++ b/lib/rainbows/ev_core.rb
@@ -86,6 +86,8 @@ module Rainbows::EvCore
         @hp.filter_body(@buf2, @buf << data)
         @input << @buf2
         on_read("")
+      else
+        want_more
       end
     when :trailers
       if @hp.trailers(@env, @buf << data)