diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-02 05:30:39 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-02 05:32:23 +0000 |
commit | c32488dcc69181d2e10b82645ef87c8b8b88b8e1 (patch) | |
tree | 46b2e2ee743fd410acedbbd8c0ba846890e2a250 /lib/unicorn/stream_input.rb | |
parent | dee9e6432c8eb5269a19c4c6b66ab932fdeda34f (diff) | |
download | unicorn-c32488dcc69181d2e10b82645ef87c8b8b88b8e1.tar.gz |
It screws up keepalive for Rainbows! requests with a body.
Diffstat (limited to 'lib/unicorn/stream_input.rb')
-rw-r--r-- | lib/unicorn/stream_input.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/stream_input.rb b/lib/unicorn/stream_input.rb index 619067d..fa2e902 100644 --- a/lib/unicorn/stream_input.rb +++ b/lib/unicorn/stream_input.rb @@ -105,7 +105,7 @@ private def eof? if @parser.body_eof? - until @parser.parse + while @chunked && ! @parser.parse once = @socket.kgio_read(@@io_chunk_size) or eof! @buf << once end |