httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1493921 - in /httpd/httpd/trunk: CHANGES modules/cache/mod_socache_shmcb.c
Date Mon, 17 Jun 2013 20:22:10 GMT
Author: minfrin
Date: Mon Jun 17 20:22:10 2013
New Revision: 1493921

URL: http://svn.apache.org/r1493921
Log:
mod_socache_shmcb.c: Remove arbitrary restriction on shared memory size
previously limited to 64MB.

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1493921&r1=1493920&r2=1493921&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Mon Jun 17 20:22:10 2013
@@ -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>]
 

Modified: httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c?rev=1493921&r1=1493920&r2=1493921&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c Mon Jun 17 20:22:10 2013
@@ -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-"
 



Mime
View raw message