]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_cache_socache: Make sure the CacheSocacheMaxSize directive is merged
authorGraham Leggett <minfrin@apache.org>
Thu, 13 Jun 2013 13:16:18 +0000 (13:16 +0000)
committerGraham Leggett <minfrin@apache.org>
Thu, 13 Jun 2013 13:16:18 +0000 (13:16 +0000)
correctly.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1492663 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/cache/mod_cache_socache.c

diff --git a/CHANGES b/CHANGES
index 1983db36aa32f919672ba5d39db372ccf652d480..968de28edaae71389aaac78512e4e62f4849a354 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) mod_cache_socache: Make sure the CacheSocacheMaxSize directive is merged
+     correctly. [Jens Låås <jelaas gmail.com>]
+
   *) mod_auth_digest: Actually use the secret when generating nonces. This change
      may cause problems if used with round robin load balancers. PR 54637
      [Stefan Fritsch]
index e75e124e42a060193ebd1bf596c95bd09b41e48c..8f58c12c28f8cae0a0f91e8811f9b583783f4533 100644 (file)
@@ -1292,6 +1292,7 @@ static const char *set_cache_max(cmd_parms *parms, void *in_struct_ptr,
             < 1024) {
         return "CacheSocacheMaxSize argument must be a integer representing the max size of a cached entry (headers and body), at least 1024";
     }
+    dconf->max_set = 1;
     return NULL;
 }