Here's a fixed LDAP purge routine which works great in my testing (with
cache sizes of 8, 100, 1000, and 2150 and 2500 unique user logins
repeated 3 times each). [No, I haven't produced a diff as I have
pieces of util_ldap from various CVS levels at this point.] Essentially I added all the logic surrounding 'pp', which is the address of the previous node's 'next' field or of cache->nodes[i] in the case of the first node. [Cleary my C is getting rusty -- this took me a few attempts to get right...] This fixes the biggest LDAP module issue I'm aware of: hangs and crashes after one or more cache purges. -- Jess Holle void util_ald_cache_purge(util_ald_cache_t *cache)Jess Holle wrote: Graham Leggett wrote: |
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Brad Nicholes
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap William A. Rowe, Jr.
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Jess Holle