* [PATCH] http: avoid uninitialized variable
@ 2016-05-24 0:50 7% ` Eric Wong
0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2016-05-24 0:50 UTC (permalink / raw)
To: meta
Oops, really gotta start checking logs in tests :x
Fixes: bb38f0fcce739 ("http: chunk in the server, not middleware")
---
lib/PublicInbox/HTTP.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/PublicInbox/HTTP.pm b/lib/PublicInbox/HTTP.pm
index 77b178c..104a213 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";
^ permalink raw reply related [relevance 7%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-05-23 7:19 [PATCH] http: chunk in the server, not middleware Eric Wong
2016-05-24 0:50 7% ` [PATCH] http: avoid uninitialized variable Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).