Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2009, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.1059 2010/03/30 19:10:36 jonasw Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1060 2010/04/06 14:17:56 marty Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:4072:    {    uid_cache[ci] = user;    if( catch(QUERY("INSERT INTO "+name+" "    "(id,uid,atime) VALUES (%s,%s,UNIX_TIMESTAMP())",    ci, user||"")) )    QUERY( "UPDATE "+name+" SET uid=%s WHERE id=%s",    user||"", ci );    }      #ifndef NO_ARG_CACHE_SB_REPLICATE -  if(id->misc->persistent_cache_crawler) { +  if(id->misc->persistent_cache_crawler || id->misc->do_replicate_argcache) {    // Force an update of rep_time for the requested arg cache id.    foreach(ci/"$", string key) {   #if ARGCACHE_DEBUG    werror("Request for id %O from prefetch crawler.\n", key);   #endif /* ARGCACHE_DEBUG */    argcache->refresh_arg(key);    }    }   #endif /* NO_ARG_CACHE_SB_REPLICATE */    return ci;