]> Sergey Matveev's repositories - public-inbox.git/commit
xt/mem-imapd-tls: avoid EMFILE in -imapd process
authorEric Wong <e@yhbt.net>
Mon, 13 Jul 2020 02:23:28 +0000 (02:23 +0000)
committerEric Wong <e@yhbt.net>
Mon, 13 Jul 2020 21:12:57 +0000 (21:12 +0000)
commitd78efbd2f3d973477099261e3c75bf4852473b77
treeb283feab122da1beec9ca7c638ed0f8b95f549d8
parentded05deae357a9a27ece00f1c5f1cd63782fadef
xt/mem-imapd-tls: avoid EMFILE in -imapd process

Test::More dups standard FDs and may create FDs for other
purposes.  run_mode => 0 lets us rely on FD_CLOEXEC to ensure
-imapd has enough FDs to accept all incoming connections at
the cost of higher (one-off) startup time.
xt/mem-imapd-tls.t