Re: SSL LDAP connection caching problem (was Re: [exim] LDAP…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: John Dalbec
CC: exim-users
Sujet: Re: SSL LDAP connection caching problem (was Re: [exim] LDAPconnectioncaching problem?)
On Tue, 19 Jul 2005, John Dalbec wrote:

> How about this? It hides the existing LDAP connections from the child process
> immediately after forking, then tidies any LDAP connections the child may have
> created before the child ends. The existing LDAP connections are then still
> available to the parent so it shouldn't impact performance as much as a full
> search_tidyup. Actually the while loop in eldap_tidy_no_unbind could be
> reduced to ldap_connections = NULL; but this way it's easier to see the
> connection to eldap_tidy.


I'm afraid I can't use this code because it puts LDAP-specific calls
into the mainline code; it does not address similar problems that could
occur with other forms of lookup. I am going to stick with the
"standard" way of doing this that Nico posted.

Regards,
Philip

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.