]> Sergey Matveev's repositories - public-inbox.git/commit
qspawn: capture errors from parse_hdr callback
authorEric Wong <e@yhbt.net>
Mon, 30 Mar 2020 18:30:08 +0000 (18:30 +0000)
committerEric Wong <e@yhbt.net>
Mon, 30 Mar 2020 18:31:07 +0000 (18:31 +0000)
commit740db9e58da0cb548d6c9f6534e0047a96298c47
tree6c42af3fd2486d8b12c2f40f095ae52351fdfa60
parent2fc67a18b7ccd75ea6eb945f18203cbf4bcf228f
qspawn: capture errors from parse_hdr callback

User-supplied callbacks may fail, so capture the error instead
of propagating it up the stack into the public-inbox-httpd event
loop.
lib/PublicInbox/Qspawn.pm