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.940 2006/10/13 17:55:03 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.941 2006/10/17 20:45:26 jonasw 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:5770:    "cache-status": ({"%s", ("sizeof(request_id->cache_status||({}))?"    "indices(request_id->cache_status)*\",\":"    "\"nocache\""),    1, "\"-\"", 0}),    "eval-status": ({"%s", ("sizeof(request_id->eval_status||({}))?"    "indices(request_id->eval_status)*\",\":"    "\"-\""),    1, "\"-\"", 0}),    "protcache-cost": ({"%d", "request_id->misc->protcache_cost",    1, "\"-\"", 0}), +  "xff": ({"%s", ("arrayp(request_id->request_headers[" +  "\"x-forwarded-for\"]) ? " +  "(request_id->request_headers[" +  "\"x-forwarded-for\"][-1] / \",\")[0] :" +  "((request_id->request_headers[" +  "\"x-forwarded-for\"] || \"-\") / \",\")[0]"), +  1, "\"-\"", 0 }),       // Used for event logging    "facility": ({"-", 0, "%s", "facility", 0}),    "action": ({"-", 0, "%s", "action", 0}),   ]);      void run_log_format( string fmt, function c, RequestID id, mapping file )   {    (compiled_log_access[ fmt ] ||    compile_log_format( fmt )->log_access) (c,id,file);