From: Graham Leggett Date: Mon, 10 Jun 2013 14:08:43 +0000 (+0000) Subject: mod_cache_socache: Use the name of the socache implementation when performing X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd4be7a7b837d734726df16556facaee979acc91;p=thirdparty%2Fapache%2Fhttpd.git mod_cache_socache: Use the name of the socache implementation when performing a lookup rather than using the raw arguments. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1491458 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index de4d2bb4aa8..8bc8e0263b6 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,10 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.0 + + *) mod_cache_socache: Use the name of the socache implementation when performing + a lookup rather than using the raw arguments. [Martin Ksellmann + ] + *) rotatelogs: add -n number-of-files option to roate through a number of fixed-name logfiles. [Eric Covener] diff --git a/modules/cache/mod_cache_socache.c b/modules/cache/mod_cache_socache.c index 9e86f331bd0..e75e124e42a 100644 --- a/modules/cache/mod_cache_socache.c +++ b/modules/cache/mod_cache_socache.c @@ -1273,7 +1273,7 @@ static const char *set_cache_socache(cmd_parms *cmd, void *in_struct_ptr, } provider->socache_provider = ap_lookup_provider(AP_SOCACHE_PROVIDER_GROUP, - arg, AP_SOCACHE_PROVIDER_VERSION); + name, AP_SOCACHE_PROVIDER_VERSION); if (provider->socache_provider == NULL) { err = apr_psprintf(cmd->pool, "Unknown socache provider '%s'. Maybe you need "