]> Sergey Matveev's repositories - public-inbox.git/commit
lei: FD-passing and IPC basics
authorEric Wong <e@80x24.org>
Sun, 13 Dec 2020 22:38:48 +0000 (22:38 +0000)
committerEric Wong <e@80x24.org>
Sat, 19 Dec 2020 09:32:08 +0000 (09:32 +0000)
commit2755c6f839f0a0552cd134160e1691380511a61a
treea575ed8bcc44a238ca0a9517658d4d967c6300d6
parent8f4253f567852ef56e3a484c9881d4f113e5dc89
lei: FD-passing and IPC basics

The start of lei, a Local Email Interface.  It'll support a
daemon via FD passing to avoid startup time penalties if
IO::FDPass is installed, but fall back to a slow one-shot mode
if not.

Compared to traditional socket daemon, FD passing should allow
us to eventually do stuff like run "git show" and still have
proper terminal support for pager and color.
MANIFEST
lib/PublicInbox/Daemon.pm
lib/PublicInbox/LeiDaemon.pm [new file with mode: 0644]
script/lei [new file with mode: 0755]
t/lei.t [new file with mode: 0644]