From: Graham Leggett Date: Mon, 17 Jun 2013 20:22:10 +0000 (+0000) Subject: mod_socache_shmcb.c: Remove arbitrary restriction on shared memory size X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb41860f51347b9ac142ef18967087c89783e43b;p=thirdparty%2Fapache%2Fhttpd.git mod_socache_shmcb.c: Remove arbitrary restriction on shared memory size previously limited to 64MB. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1493921 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 0c9c295ba4d..76f4577ab28 100644 --- 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 ] + *) mod_cache_socache: Make sure the CacheSocacheMaxSize directive is merged correctly. [Jens Låås ] diff --git a/modules/cache/mod_socache_shmcb.c b/modules/cache/mod_socache_shmcb.c index 89ead05c72a..ceb6bdcf31f 100644 --- a/modules/cache/mod_socache_shmcb.c +++ b/modules/cache/mod_socache_shmcb.c @@ -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-"