diff options
author | Stefan Fritsch <sf@apache.org> | 2011-12-04 22:03:34 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-12-04 22:03:34 +0100 |
commit | 6f6ecbeae75b2b4864d41d138dd66cc582128148 (patch) | |
tree | 7489e8b3d3e237bf6bed2bf401a3721aaab34f58 /modules/cluster | |
parent | -1 to introducing new months so late in the release cycle (diff) | |
download | apache2-6f6ecbeae75b2b4864d41d138dd66cc582128148.tar.xz apache2-6f6ecbeae75b2b4864d41d138dd66cc582128148.zip |
Change the provider names to match the module names:
mod_slotmem_shm: shared -> shm
mod_socache_memcache: mc -> memcache
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1210221 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cluster')
-rw-r--r-- | modules/cluster/mod_heartmonitor.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index 036e49ca5e..46e687b089 100644 --- a/modules/cluster/mod_heartmonitor.c +++ b/modules/cluster/mod_heartmonitor.c @@ -681,10 +681,13 @@ static int hm_post_config(apr_pool_t *p, apr_pool_t *plog, if (ap_state_query(AP_SQ_MAIN_STATE) == AP_SQ_MS_CREATE_CONFIG) { /* this is the real thing */ if (maxworkers) { - storage = ap_lookup_provider(AP_SLOTMEM_PROVIDER_GROUP, "shared", + storage = ap_lookup_provider(AP_SLOTMEM_PROVIDER_GROUP, "shm", AP_SLOTMEM_PROVIDER_VERSION); if (!storage) { - ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_EMERG, 0, s, "ap_lookup_provider %s failed", AP_SLOTMEM_PROVIDER_GROUP); + ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_EMERG, 0, s, + "failed to lookup provider 'shm' for '%s', " + "maybe you need to load mod_slotmem_shm?", + AP_SLOTMEM_PROVIDER_GROUP); return !OK; } storage->create(&slotmem, "mod_heartmonitor", sizeof(hm_slot_server_t), maxworkers, AP_SLOTMEM_TYPE_PREGRAB, p); |