httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Estrade Matthieu <>
Subject [PATCH] util_ldap_cache shm broken in apache 2.x
Date Tue, 01 Jul 2003 13:01:43 GMT

I sent few weeks ago a patch for util_ldap shm cache which is broken in 
apache 2.0
The problem are:
shm file is unique for all httpd
-> i created a directive to specify a filename - creating default if not.

shm is initialized in child init hook
-> i move this to post_init hook

shm, rmm pointer are global and defined in util_ldap_cache.c
-> i created st->util_ldap_shm and st->util_ldap_rmm which are per root 
server address

All allocation or free with rmm are using global address
-> i made them using st->util_ldap_shm and rmm

The first patch i sent was my debug code, this one is cleaned and 
working with me in worker and prefork mpm
I would like to know if there is a reason that util_ldap.h is in 
include/ and all util_ldap code is in modules/experimental



View raw message