about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-23 08:21:08 +0000
committerEric Wong <e@80x24.org>2016-05-23 08:21:54 +0000
commite330b2eec13ebda99a7e2981375dee4fe397f14a (patch)
tree97727614a363b0d6369bd9d4c43c9f4da18256d9 /lib
parentbb38f0fcce73904e68d4cde8f9d85e9da2e93013 (diff)
downloadpublic-inbox-e330b2eec13ebda99a7e2981375dee4fe397f14a.tar.gz
Oops, really gotta start checking logs in tests :x

Fixes: bb38f0fcce739 ("http: chunk in the server, not middleware")
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/HTTP.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/HTTP.pm b/lib/PublicInbox/HTTP.pm
index 77b178c0..104a2132 100644
--- a/lib/PublicInbox/HTTP.pm
+++ b/lib/PublicInbox/HTTP.pm
@@ -190,6 +190,7 @@ sub response_header_write {
                 $alive = 1;
                 $h .= "Connection: keep-alive\r\n";
         } else {
+                $alive = 0;
                 $h .= "Connection: close\r\n";
         }
         $h .= 'Date: ' . http_date() . "\r\n\r\n";