]> Sergey Matveev's repositories - public-inbox.git/commit
http: fix condition for detecting persistence
authorEric Wong <e@80x24.org>
Mon, 4 Apr 2016 21:15:26 +0000 (21:15 +0000)
committerEric Wong <e@80x24.org>
Mon, 4 Apr 2016 21:15:45 +0000 (21:15 +0000)
commita7b196b4e6b27ee10f126a36702a63a5ae787df1
treee318224cedb0a9b6564a10127b0783b09dec3474
parent49978fa6086ad23927805d24d9adb70b96ec337a
http: fix condition for detecting persistence

Oops, we need to watch out for how we handle operator
precedence and ensure responses without a Content-Length
or "Transfer-Encoding: chunked" header will always
disconnect after writing.
lib/PublicInbox/HTTP.pm