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/base.rb | |
parent | eaf6cca3e1d38b7307c65c257b080041e65fd215 (diff) | |
download | rainbows-b75ad975856a681fe96651592b2bb24cc044fd50.tar.gz |
Diffstat (limited to 'lib/rainbows/base.rb')
-rw-r--r-- | lib/rainbows/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/base.rb b/lib/rainbows/base.rb index cef2d2e..435c818 100644 --- a/lib/rainbows/base.rb +++ b/lib/rainbows/base.rb @@ -71,7 +71,7 @@ module Rainbows::Base remote_addr = Rainbows.addr(client) begin # loop - while ! hp.headers(env, buf) + until hp.headers(env, buf) IO.select([client], nil, nil, G.kato) or return buf << client.readpartial(CHUNK_SIZE) end |