]> Sergey Matveev's repositories - public-inbox.git/commit
lei q: fix SIGPIPE handling from lei2mail workers
authorEric Wong <e@80x24.org>
Tue, 19 Jan 2021 09:34:28 +0000 (09:34 +0000)
committerEric Wong <e@80x24.org>
Thu, 21 Jan 2021 03:29:07 +0000 (03:29 +0000)
commitc304991c2b872e7e80f18d0e470ff115b5ffe69e
treeb770ff9779ad7f8e10ab3abf194b0bd574ec1d5f
parent90de75619d2ec8a59c265fd8f2c6cc1d4a7daba2
lei q: fix SIGPIPE handling from lei2mail workers

We need to properly propagate SIGPIPE to the top-level
lei-daemon process and avoid relying on auto-close,
since auto-close triggers Perl warnings when explicit
close() does not.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiToMail.pm
lib/PublicInbox/LeiXSearch.pm
xt/lei-sigpipe.t