From 1562a19a021a72a78ba495328d2d37ba0dc83b8c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 7 Dec 2010 12:11:51 -0800 Subject: rev+revactor: fix LARGE pipelined uploads Large uploads behave differently with regard to buffering, and there were bugs in the way the Rev and Revactor backends handled uploads. --- lib/rainbows/ev_core.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/rainbows/ev_core.rb') 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) -- cgit v1.2.3-24-ge0c7