]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_socache_shmcb.c: Remove arbitrary restriction on shared memory size
authorGraham Leggett <minfrin@apache.org>
Mon, 17 Jun 2013 20:22:10 +0000 (20:22 +0000)
committerGraham Leggett <minfrin@apache.org>
Mon, 17 Jun 2013 20:22:10 +0000 (20:22 +0000)
previously limited to 64MB.

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

CHANGES
modules/cache/mod_socache_shmcb.c

diff --git a/CHANGES b/CHANGES
index 0c9c295ba4df194312c9710219cb8232c10cbc00..76f4577ab288db6bf441bc898ccc9289cbee8825 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) mod_socache_shmcb.c: Remove arbitrary restriction on shared memory size
+     previously limited to 64MB. [Jens Låås <jelaas gmail.com>]
+
   *) mod_cache_socache: Make sure the CacheSocacheMaxSize directive is merged
      correctly. [Jens Låås <jelaas gmail.com>]
 
index 89ead05c72a146f8d9e2f6040c44b258a8157440..ceb6bdcf31f0461e1218180ea06fce4e7f022bde 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "ap_socache.h"
 
-#define SHMCB_MAX_SIZE (64 * 1024 * 1024)
+#define SHMCB_MAX_SIZE APR_SIZE_MAX
 
 #define DEFAULT_SHMCB_PREFIX "socache-shmcb-"