]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: ignore SIGPIPE while running
authorEric Wong <e@yhbt.net>
Wed, 8 Jan 2020 10:44:08 +0000 (10:44 +0000)
committerEric Wong <e@80x24.org>
Wed, 8 Jan 2020 10:45:42 +0000 (10:45 +0000)
commit57b19e788ed43d15487aac9927183b26a86c7d92
tree27564f3858f293f5de6f25d0bd109d6a8fedac4d
parent9e306626c5f83a71a93a235e3aa53b70677c122c
daemon: ignore SIGPIPE while running

This is only needed for IO::Poll users, since users with
(signalfd || EVFILT_SIGNAL) support run with SIGPIPE (and
all other signals) blocked.

Fixes: 81a9a43fb858d197 ("daemon: use sigprocmask to block signals at startup")
lib/PublicInbox/Daemon.pm