about summary refs log tree commit homepage
path: root/lib/rainbows/rev/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/rev/client.rb')
-rw-r--r--lib/rainbows/rev/client.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rainbows/rev/client.rb b/lib/rainbows/rev/client.rb
index 20adbc1..e450d09 100644
--- a/lib/rainbows/rev/client.rb
+++ b/lib/rainbows/rev/client.rb
@@ -109,7 +109,6 @@ module Rainbows
 
         rev_write_response(response, alive = @hp.keepalive? && G.alive)
         return quit unless alive && :close != @state
-        @env.clear
         @hp.reset
         @state = :headers
         disable if enabled?
@@ -131,7 +130,7 @@ module Rainbows
         when :close
           close if @_write_buffer.empty?
         when :headers
-          if @hp.headers(@env, @buf)
+          if @hp.parse
             app_call
           else
             unless enabled?