diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-06-28 05:20:17 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-06-28 05:20:17 +0000 |
commit | b75ad975856a681fe96651592b2bb24cc044fd50 (patch) | |
tree | 7ffad0a90429def0138c16633972bd660a990d27 /lib/rainbows/revactor.rb | |
parent | eaf6cca3e1d38b7307c65c257b080041e65fd215 (diff) | |
download | rainbows-b75ad975856a681fe96651592b2bb24cc044fd50.tar.gz |
Diffstat (limited to 'lib/rainbows/revactor.rb')
-rw-r--r-- | lib/rainbows/revactor.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rainbows/revactor.rb b/lib/rainbows/revactor.rb index 0ec23d8..021fc48 100644 --- a/lib/rainbows/revactor.rb +++ b/lib/rainbows/revactor.rb @@ -44,9 +44,7 @@ module Rainbows::Revactor alive = true begin - while ! hp.headers(env, buf) - buf << client.read(*rd_args) - end + buf << client.read(*rd_args) until hp.headers(env, buf) env[CLIENT_IO] = client env[RACK_INPUT] = 0 == hp.content_length ? |