]> Sergey Matveev's repositories - public-inbox.git/commit
cmd_ipc: support + test EINTR + EAGAIN, no FDs
authorEric Wong <e@80x24.org>
Thu, 14 Jan 2021 07:06:14 +0000 (19:06 -1200)
committerEric Wong <e@80x24.org>
Thu, 14 Jan 2021 23:14:08 +0000 (23:14 +0000)
commit7dd5b28cb9bdcfa262ddad47d7f033f600675dc3
treec55a8afc5163ad33b37911fabbfd699b1b953143
parentb0898d18efbc8f646b736088f9600b87be88f91e
cmd_ipc: support + test EINTR + EAGAIN, no FDs

We'll ensure our {send,recv}_cmd4 implementations are
consistent w.r.t. non-blocking and interrupted sockets.

We'll also support receiving messages without FDs associated
so we don't have to send dummy FDs to keep receivers from
reporting EOF.
lib/PublicInbox/CmdIPC4.pm
lib/PublicInbox/Spawn.pm
t/cmd_ipc.t