diff options
author | Eric Wong <e@80x24.org> | 2016-05-23 08:21:08 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-05-23 08:21:54 +0000 |
commit | e330b2eec13ebda99a7e2981375dee4fe397f14a (patch) | |
tree | 97727614a363b0d6369bd9d4c43c9f4da18256d9 /lib/PublicInbox/HTTP.pm | |
parent | bb38f0fcce73904e68d4cde8f9d85e9da2e93013 (diff) | |
download | public-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/PublicInbox/HTTP.pm')
-rw-r--r-- | lib/PublicInbox/HTTP.pm | 1 |
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"; |