]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-master: Fix calling avail_overflow_callback with service_count=1
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 15 Jan 2020 14:30:34 +0000 (16:30 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Tue, 16 Mar 2021 17:00:06 +0000 (17:00 +0000)
commitc39854c1fb07967f42c9a5d16c24612311ae656e
tree342db4e33a3cfd7e52baab39d8d1aec62b29589b
parent5dd81d83d8d9120ed2a74d5bd2aa62622885b49c
lib-master: Fix calling avail_overflow_callback with service_count=1

This is used by login processes to kill the oldest connection when all of
the clients and processes for the service are taken. This wasn't working
when service_count=1 because the listeners were closed already.

It's not really useful anymore to even do this kind of a listener closing.
It was originally added in 9217d2426b4f8ece47441357f35d8bb34d97c4eb to
prevent restart problems with long-running login processes. However,
nowadays listeners can be closed via SIGQUIT so this isn't necessary.
src/lib-master/master-service.c