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 - 2001, 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.852 2003/11/11 15:40:07 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.853 2003/11/25 16:01:35 anders 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:3138:    if( !(res = restore( na,id )) )    error("Draw callback did not generate any data\n");    }    res->stat = ({ 0, 0, 0, 900000000, 0, 0, 0, 0, 0 });       // Setting the cacheable flag is done in order to get headers sent which    // cause the image to be cached in the client even when using https    // sessions. However, this flag also controls whether the file should    // be placed in the protocol-level cache, so we'll counter by setting a    // separate flag. -  id->misc->cacheable = INITIAL_CACHEABLE; -  id->misc->no_proto_cache = 1; +  RAISE_CACHE(INITIAL_CACHEABLE); +  NO_PROTO_CACHE();    return res;    }       mapping metadata( array|string|mapping data,    RequestID id,    int|void nodraw )    //! Returns a mapping of image metadata for an image generated from    //! the data given (as sent to @[store()]). If a non-zero    //! @[nodraw] parameter is given and the image was not in the cache,    //! it will not be rendered on the fly to get the correct data.