about summary refs log tree commit homepage
path: root/lib/rainbows/ev_core.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/ev_core.rb')
-rw-r--r--lib/rainbows/ev_core.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/ev_core.rb b/lib/rainbows/ev_core.rb
index 017fe5c..e0fb029 100644
--- a/lib/rainbows/ev_core.rb
+++ b/lib/rainbows/ev_core.rb
@@ -74,6 +74,7 @@ module Rainbows
         end
       when :trailers
         if @hp.trailers(@env, @buf << data)
+          @input.rewind
           app_call
           @input.close if File === @input
         end