]> Sergey Matveev's repositories - public-inbox.git/commit
wwwstatic: getline: die on missing psgix.io
authorEric Wong <e@80x24.org>
Tue, 31 Dec 2019 10:30:09 +0000 (10:30 +0000)
committerEric Wong <e@80x24.org>
Wed, 1 Jan 2020 07:50:23 +0000 (07:50 +0000)
commit2262411eb4396b2627e131ce4cd402a2deebdbea
tree9e0252f132cf264ca0e5e76268549f818fe7bded
parent9004fa901b09d7c50be31e0f800474503ece3d5a
wwwstatic: getline: die on missing psgix.io

"psgix." extensions aren't guaranteed, so make we should
try and support some theoretical generic PSGI servers
without "psgix.io" on errors by die-ing.

While we're at it, make the error handling path more obvious by
sharing more code between the EOF and errno ($!) cases.
lib/PublicInbox/WwwStatic.pm