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, [EMAIL PROTECTED] Cambridge, England. Phone: +44 1223 334714. -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
