diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-10-28 08:20:37 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-10-28 08:20:37 +0000 |
commit | f84f138233be0607b0151a5a28c3f9190ba336a2 (patch) | |
tree | 793b361a7b3d1b1a1f64fa28b26be9accf727dcd /lib/rainbows/rev/client.rb | |
parent | c4579db76b9ed5b0286fad852e798e8a890f093c (diff) | |
download | rainbows-f84f138233be0607b0151a5a28c3f9190ba336a2.tar.gz |
These allow for small reductions in the amount of variables we have to manage, more changes coming with later Unicorns.
Diffstat (limited to 'lib/rainbows/rev/client.rb')
-rw-r--r-- | lib/rainbows/rev/client.rb | 3 |
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? |