]> Sergey Matveev's repositories - public-inbox.git/commit
wwwstatic: offload error handling to PSGI server
authorEric Wong <e@yhbt.net>
Fri, 24 Jan 2020 09:43:50 +0000 (09:43 +0000)
committerEric Wong <e@yhbt.net>
Sat, 25 Jan 2020 19:20:54 +0000 (19:20 +0000)
commitb99e2465205a8f27801066b1e914bd4091406fa2
tree2e9ca66e1c14a2e278c3f9d1606ab6b32a00983e
parent13aee729fa6d49ffb8583af8f780e836f8f7d503
wwwstatic: offload error handling to PSGI server

The PSGI server needs to account for ->getline failing
due to disk failures or truncated files, anyways.  So
just die() ourselves and let the PSGI server log and
drop the client.
lib/PublicInbox/WwwStatic.pm