From: Ondřej Kuzník Date: Wed, 18 Jan 2023 12:57:02 +0000 (+0000) Subject: ITS#9984 Keep listener base around even if not active X-Git-Tag: OPENLDAP_REL_ENG_2_6_4~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12398ce0534a6fdcf7c12251dc5bf365fca9614b;p=thirdparty%2Fopenldap.git ITS#9984 Keep listener base around even if not active --- diff --git a/servers/lloadd/daemon.c b/servers/lloadd/daemon.c index 53b1810db5..86134aeae2 100644 --- a/servers/lloadd/daemon.c +++ b/servers/lloadd/daemon.c @@ -950,7 +950,8 @@ lload_listener( static void * lload_listener_thread( void *ctx ) { - int rc = event_base_dispatch( listener_base ); + /* ITS#9984 Survive the listeners being paused if we run out of fds */ + int rc = event_base_loop( listener_base, EVLOOP_NO_EXIT_ON_EMPTY ); Debug( LDAP_DEBUG_ANY, "lload_listener_thread: " "event loop finished: rc=%d\n", rc );