]> Sergey Matveev's repositories - public-inbox.git/commit
lei: remove SIGPIPE handler
authorEric Wong <e@80x24.org>
Mon, 1 Feb 2021 08:28:16 +0000 (22:28 -1000)
committerEric Wong <e@80x24.org>
Mon, 1 Feb 2021 11:38:10 +0000 (11:38 +0000)
commit21ce1a28915374297829bd05feda0cea52adb324
treef564e868b9e3396ca60e9c3897fbaa467cb8f3b2
parentdbf555ee5906e5c778941ee850a88640a026b0ea
lei: remove SIGPIPE handler

It doesn't save us any code, and the action-at-a-distance
element was making it confusing to track down actual problems.
Another potential problem was keeping references alive too long.

So do like we would a C100K server and check every write
while still ensuring lei(1) exit with a proper SIGPIPE
iff needed.
lib/PublicInbox/IPC.pm
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiExternal.pm
lib/PublicInbox/LeiOverview.pm
lib/PublicInbox/LeiToMail.pm
lib/PublicInbox/LeiXSearch.pm
t/lei_to_mail.t