[PATCH] xt/mem-nntpd-tls: drop :epoll import tag use

2023-09-25 Thread Eric Wong
The export tag for :epoll no longer exists and it seems like it hasn't been needed in a while, anyways. We can also drop a useless EPOLLIN import, as well. Fixes: 3005c1bc5d05 (ds: use object-oriented API for epoll) --- xt/mem-nntpd-tls.t | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: pop3: does uuid need to be unique for all mailboxes?

2023-09-25 Thread Eric Wong
Konstantin Ryabitsev wrote: > Hopefully an easy question: > > If I'm subscribing to two different mailboxes via pop3, does the uuid part > need to be unique for each mailbox? Nope, you can reuse UUID across different mailboxes. > For example, will the following cause any > problems because the

pop3: does uuid need to be unique for all mailboxes?

2023-09-25 Thread Konstantin Ryabitsev
Hopefully an easy question: If I'm subscribing to two different mailboxes via pop3, does the uuid part need to be unique for each mailbox? For example, will the following cause any problems because the uuid is the same? -

[PATCH 0/2] daemon shutdown improvements

2023-09-25 Thread Eric Wong
More stuff extracted from another branch... Eric Wong (2): ds: force event_loop wakeup on final child death tests: add quit_waiter_pipe and wait_for_eof lib/PublicInbox/DS.pm | 9 ++--- lib/PublicInbox/LEI.pm| 1 - lib/PublicInbox/TestCommon.pm | 36

[PATCH 2/2] tests: add quit_waiter_pipe and wait_for_eof

2023-09-25 Thread Eric Wong
These generalize the idiom from t/httpd-unix.t and allows them to be used for all the lei daemon shutdown in tests. This speeds up the serialized run of `prove -lvw t/lei.t t/lei-daemon.t' by roughly 8-9% or so since we're no longer sleeping and killing the daemon in a loop. Parallelized `make

[PATCH 1/2] ds: force event_loop wakeup on final child death

2023-09-25 Thread Eric Wong
Reaping children needs to keep the event_loop spinning another round when the @post_loop_do callback may be used to check on process exit during shutdown. This allows us to get rid of the hacky SetLoopTimeout calls in lei-daemon and XapHelper.pm during process shutdown if we're trying to wait for