mod_ssl mutex are totally different. global mutex are used.

Actually, the mutex is in the module_conf, so i think when apache fork childs, this mutex is no more valid, and each child will have a value for it.
There is also in util_ldap.c, apr_thread_mutex_create(&st->mutex, APR_THREAD_MUTEX_DEFAULT, st->pool);
This will alloc data for the mutex with apr_pcalloc, and i think it will be only in the current child.
I think there is a lot of work to make it work with global mutex.


After speaking many times about this problem on #apache-modules, Paul Querna said that it would be better to port mod_auth_ldap to mod_authn_ldap, and do module caching auth, for all authentication method. I am sure this way is really better and i agree with him. I know he started this cache module, maybe it could be good to continue this effort and on another hand, port mod_auth_ldap to 2.1.

Regards,

Matthieu




Reply via email to