]> Sergey Matveev's repositories - public-inbox.git/commit
lei: do not unlink socket path at exit
authorEric Wong <e@80x24.org>
Thu, 14 Jan 2021 07:06:17 +0000 (19:06 -1200)
committerEric Wong <e@80x24.org>
Thu, 14 Jan 2021 23:14:08 +0000 (23:14 +0000)
commitb5607f3185f956f23dee025255a84b75c79f8e62
tree5d9e79da427e90812b7113ebff8f0df30234ecf6
parentb552bb9150775fe4b5a9eb76803e8859c647be92
lei: do not unlink socket path at exit

This matches existing -httpd/-nntpd/-imapd daemon behavior.
From what I can recall, it is less racy for the process doing
bind(2) to unlink it if stale.
lib/PublicInbox/LEI.pm
t/lei.t