mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
mod_ldap: fix a bogus error message to tell the user which file
is causing a potential problem with the LDAP shared memory cache. PR: 31431 Obtained from: Submitted by: Graham Leggett Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105375 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -2,6 +2,10 @@ Changes with Apache 2.1.0-dev
|
|||||||
|
|
||||||
[Remove entries to the current 2.0 section below, when backported]
|
[Remove entries to the current 2.0 section below, when backported]
|
||||||
|
|
||||||
|
*) mod_ldap: fix a bogus error message to tell the user which file
|
||||||
|
is causing a potential problem with the LDAP shared memory cache.
|
||||||
|
PR 31431 [Graham Leggett]
|
||||||
|
|
||||||
*) mod_ldap: prevent the possiblity of an infinite loop in the LDAP
|
*) mod_ldap: prevent the possiblity of an infinite loop in the LDAP
|
||||||
statistics display. PR 29216 [Graham Leggett]
|
statistics display. PR 29216 [Graham Leggett]
|
||||||
|
|
||||||
|
@@ -1276,12 +1276,15 @@ static void util_ldap_child_init(apr_pool_t *p, server_rec *s)
|
|||||||
|
|
||||||
sts = apr_global_mutex_child_init(&st->util_ldap_cache_lock, st->lock_file, p);
|
sts = apr_global_mutex_child_init(&st->util_ldap_cache_lock, st->lock_file, p);
|
||||||
if (sts != APR_SUCCESS) {
|
if (sts != APR_SUCCESS) {
|
||||||
ap_log_error(APLOG_MARK, APLOG_CRIT, sts, s, "failed to init caching lock in child process");
|
ap_log_error(APLOG_MARK, APLOG_CRIT, sts, s,
|
||||||
|
"Failed to initialise global mutex %s in child process %d.",
|
||||||
|
st->lock_file, getpid());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, s,
|
ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, s,
|
||||||
"INIT global mutex %s in child %d ", st->lock_file, getpid());
|
"Initialisation of global mutex %s in child process %d successful.",
|
||||||
|
st->lock_file, getpid());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user