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 - 2004, 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.926 2006/05/23 08:33:51 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.927 2006/06/01 11:25:40 wellhard 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:5505:    " request_id->parse_cookies(request_id->misc->moreheads[\"Set-Cookie\"])"    " ->RoxenUserID)||\"0\"", LOG_FLAG_NEED_COOKIES }),    ({ "user", "%s", "extract_user( request_id->realauth )",0 }),    ({ "request-time","%1.2f", "time(request_id->time )",0 }),    ({ "host", "\4711", // unlikely to occur normally    0, LOG_FLAG_ASYNC }),    ({ "cache-status","%s", ("sizeof(request_id->cache_status||({}))?"    "indices(request_id->cache_status)*\",\":"    "\"nocache\""), 0 }),    ({ "protcache-cost", "%d", "request_id->misc->protcache_cost", 0 }), +  ({ "cookies", "%s", ("arrayp(request_id->request_headers->cookie)?" +  "request_id->request_headers->cookie*\";\":" +  "request_id->request_headers->cookie||\"\""), 0 }),   });      void run_log_format( string fmt, function c, RequestID id, mapping file )   {    (compiled_formats[ fmt ] || compile_log_format( fmt ))(c,id,file);   }      function compile_log_format( string fmt )   {    add_constant( "___LogFormat", LogFormat );