You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Eric Covener <co...@gmail.com> on 2007/11/05 22:28:10 UTC

mod_ldap: uldap_connection_cleanup not being run?

mod_ldap tries to add a cleanup for each backend LDAP connection
(scope/lifetime of individual child process) it creates, but it ties
this cleanup to what is effectively pconf.  This is not cleaned up in
the child, where it would have to run to be effective.

Is it worth re-working the cleanup mechanism here, considering how
long the cleanup has been sidelined for so long without anyone taking
notice?

We could register a single pchild cleanup in the child_init hook and
find our way to iterating through the connections associated w/ the
various vhosts to close the LDAP connections down as the child process
is exiting.

-- 
Eric Covener
covener@gmail.com