From 11b0ed968dc005c9c291b82d672e648b5243af08 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 11 Nov 2016 20:22:22 +0000 Subject: response: fixup compile error Introduced in commit 08cea89483e90c79daa2c8efe70da6bdeba71147 ('response: only stream "file" responses on known length') --- lib/yahns/http_response.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-24-ge0c7