]> granicus.if.org Git - apache/commitdiff
Merge r1453604 from trunk:
authorJim Jagielski <jim@apache.org>
Tue, 9 Apr 2013 12:15:44 +0000 (12:15 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 9 Apr 2013 12:15:44 +0000 (12:15 +0000)
fix merge of min/max file size by setting corresponding _set

Submitted by: covener
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1465986 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/cache/mod_cache_disk.c

diff --git a/CHANGES b/CHANGES
index 0509436ed93ba768ee866b04e9a994a7ae29f919..b5e9ba321b1e7de709134d6c7dd952d54fee4c28 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,7 +1,10 @@
                                                          -*- coding: utf-8 -*-
-
 Changes with Apache 2.4.5
 
+  *) mod_cache_disk: CacheMinFileSize and CacheMaxFileSize were always
+     using compiled in defaults of 1000000/1 respectively. [Eric Covener]
+
   *) mod_lbmethod_heartbeat, mod_heartmonitor: Respect DefaultRuntimeDir/
      DEFAULT_REL_RUNTIMEDIR for the heartbeat storage file.  [Jeff Trawick]
 
diff --git a/STATUS b/STATUS
index 4a60dfea2608b3b152a984b4f9295f1c70485121..c3af2c48d7a61f5a6b17623f87bd37f344069816 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -90,11 +90,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-  * mod_cache_disk: fix merge of min/max file size by setting corresponding _set
-    trunk patch: http://svn.apache.org/r1453604
-    2.4.x patch: trunk patch works
-    +1: humbedooh, jim, covener
-
   * mod_ssl: Quiet FIPS mode weak keys disabled and FIPS not selected emits
     in the error log to debug level.  [William Rowe]
     trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1447993
index 8427e8fd60f947d8499c10b5f116b7cce07a4581..843921e797a829d3a3c51e5b67bbe5f8f63ffe2d 100644 (file)
@@ -1447,6 +1447,7 @@ static const char
     {
         return "CacheMinFileSize argument must be a non-negative integer representing the min size of a file to cache in bytes.";
     }
+    dconf->minfs_set = 1;
     return NULL;
 }
 
@@ -1460,6 +1461,7 @@ static const char
     {
         return "CacheMaxFileSize argument must be a non-negative integer representing the max size of a file to cache in bytes.";
     }
+    dconf->maxfs_set = 1;
     return NULL;
 }