diff options
author | Eric Wong <e@80x24.org> | 2016-11-11 20:22:22 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-11-11 20:22:25 +0000 |
commit | 11b0ed968dc005c9c291b82d672e648b5243af08 (patch) | |
tree | fe533bbdea680d4d773f6e1daf7d69a64ac5d56c /lib | |
parent | 08cea89483e90c79daa2c8efe70da6bdeba71147 (diff) | |
download | yahns-11b0ed968dc005c9c291b82d672e648b5243af08.tar.gz |
Introduced in commit 08cea89483e90c79daa2c8efe70da6bdeba71147 ('response: only stream "file" responses on known length')
Diffstat (limited to 'lib')
-rw-r--r-- | lib/yahns/http_response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/http_response.rb b/lib/yahns/http_response.rb index ca28bbf..e2fc940 100644 --- a/lib/yahns/http_response.rb +++ b/lib/yahns/http_response.rb @@ -125,7 +125,7 @@ module Yahns::HttpResponse # :nodoc: def http_response_write(res, opt) status, headers, body = res offset = 0 - count = hijack = nil + count = hijack = clen = nil alive = @hs.next? && self.class.persistent_connections flags = MSG_DONTWAIT term = false |