Re: util_ldap [Bug 29217] - Remove references to calloc() and free()

2004-06-11 Thread Graham Leggett
Brad Nicholes wrote: It appears to me that if it doesn't handle low memory situations or it is giving false positives, those are separate issues from pools vs. calloc/free. I still think we need to implement some better monitoring or logging code in the cache_mgr and enhance the cache-status

Re: util_ldap [Bug 29217] - Remove references to calloc() and free()

2004-06-11 Thread William A. Rowe, Jr.
The proper logic to add to a cache is wrlock test if exists again add element unlock because there is a race condition in the logic below rdlock test if the element exists race is here, prior to wrlocking, another thread may wrlock-insert promote to wrlock insert unlock

Re: util_ldap [Bug 29217] - Remove references to calloc() and free()

2004-06-11 Thread Greg Marr
At 12:33 PM 6/11/2004, William A. Rowe, Jr. wrote: The proper logic to add to a cache is wrlock test if exists again add element unlock because there is a race condition in the logic below rdlock test if the element exists race is here, prior to wrlocking, another thread may wrlock-insert

Re: util_ldap [Bug 29217] - Remove references to calloc() and free()

2004-06-11 Thread Brad Nicholes
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

Re: cvs commit: httpd-2.0/support rotatelogs.c

2004-06-11 Thread Jeff Trawick
[EMAIL PROTECTED] wrote: coar2004/06/11 14:43:58 Modified:support rotatelogs.c Log: add -l option to indicate interval is based on localtime not gmt a CHANGES entry would be good also, I guess this is exactly the feature requested/implemented in PR 24417?

Re: util_ldap [Bug 29217] - Remove references to calloc() and free()

2004-06-11 Thread William A. Rowe, Jr.
At 04:41 PM 6/11/2004, Brad Nicholes wrote: I am sure that we can take advantage of what has been done in mod_ssl and other places that have to mutex protect shared memory. It is actually working great on NetWare at the moment but then we don't use shared memory and we are multi-threaded only.

FW: util_ldap [Bug 29217] - Remove references to calloc()and free()

2004-06-11 Thread Mathihalli, Madhusudan
I'm forwarding on behalf of my collegue (as his mails are not reaching the list) -Madhu -Original Message- From: CHOU,TAIR-SHIAN (HP-Cupertino,ex1) [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 7:04 PM To: Mathihalli, Madhusudan Subject: FW: util_ldap [Bug 29217] - Remove

FW: util_ldap [Bug 29217] - Remove references to calloc() and free()

2004-06-11 Thread Mathihalli, Madhusudan
Another mail.. -Madhu -Original Message- From: CHOU,TAIR-SHIAN (HP-Cupertino,ex1) [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 7:05 PM To: Mathihalli, Madhusudan Subject: FW: util_ldap [Bug 29217] - Remove references to calloc() and free() -Original Message- From: