]> Sergey Matveev's repositories - public-inbox.git/commit
qspawn: consistently return 500 on premature EOF
authorEric Wong <e@80x24.org>
Fri, 6 Jan 2023 10:10:52 +0000 (10:10 +0000)
committerEric Wong <e@80x24.org>
Fri, 6 Jan 2023 10:24:16 +0000 (10:24 +0000)
commit5b92ed1384511d1a16813aabd7c902d93b87603b
treeaf1612fbffb45b355e5d215112126d7caff549f9
parenta12cd80b5821cf5cb2c8672aad0fba94c451f728
qspawn: consistently return 500 on premature EOF

If {parse_hdr} callback doesn't handle it, we need to break the
loop if the CGI process dies prematurely.  This doesn't fix a
currently known problem, but theoretically a SIGKILL could hit
(cgit || git-http-backend) while -netd or -httpd survives.
lib/PublicInbox/Qspawn.pm