[mapserver-commits] r12402 - trunk/mapserver/mapcache/src

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:22:43 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:22:43 -0700 (Fri, 26 Aug 2011)
New Revision: 12402

Modified:
   trunk/mapserver/mapcache/src/service_wms.c
Log:
add tile auto-expiration

add tile modification time to the memcached stored data

closes issue 91.
closes issue 74.
thomas.bonfort | 2011-07-07 15:36:26 +0200 (Thu, 07 Jul 2011)

Modified: trunk/mapserver/mapcache/src/service_wms.c
===================================================================
--- trunk/mapserver/mapcache/src/service_wms.c	2011-08-26 11:22:39 UTC (rev 12401)
+++ trunk/mapserver/mapcache/src/service_wms.c	2011-08-26 11:22:43 UTC (rev 12402)
@@ -698,7 +698,8 @@
       return;
    }
 #ifdef DEBUG
-   if((*request)->type != GEOCACHE_REQUEST_GET_TILE && (*request)->type != GEOCACHE_REQUEST_GET_MAP && 
+   if((*request)->type != GEOCACHE_REQUEST_GET_TILE && (*request)->type != GEOCACHE_REQUEST_GET_MAP &&
+         (*request)->type != GEOCACHE_REQUEST_GET_CAPABILITIES &&
          (*request)->type != GEOCACHE_REQUEST_GET_FEATUREINFO  ) {
       ctx->set_error(ctx,500,"BUG: request not gettile or getmap");
       return;



More information about the mapserver-commits mailing list