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.901 2006/10/16 15:17:57 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.902 2006/10/20 14:29:10 mast 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:5445:    "server-systime": ({"%d", "server_systime()", 0, 0, 0}),       // Used for access logging    "host": ({"\4711" /* unlikely to occur normally */, 0,    1, "\"-\"", LOG_ASYNC_HOST}),    "vhost": ({"%s", "(request_id->misc->host||\"-\")",    1, "\"-\"", 0}),    "ip-number": ({"%s", "(string)request_id->remoteaddr",    1, "\"0.0.0.0\"", 0}),    "bin-ip-number": ({"%s", "host_ip_to_int(request_id->remoteaddr)", -  1, "\"\0\0\0\0\"", 0}), +  1, "\"\\0\\0\\0\\0\"", 0}),    "method": ({"%s", "(string)request_id->method",    1, "\"-\"", 0}),    "cs-uri-stem": ({"%s", ("(string)"    "((request_id->misc->common&&"    " request_id->misc->common->orig_url)||"    " request_id->not_query||"    " (request_id->raw_url && "    " (request_id->raw_url/\"?\")[0])||"    " \"-\")"),    "%s" , "url_encode (resource)", 0}),
Roxen.git/server/base_server/roxen.pike:5473:    "real-full-resource": ({"%s", ("(string)(request_id->raw_url||"    " request_id->not_query)"),    "%s" , "url_encode (resource)", 0}),    "real-cs-uri-stem": ({"%s", ("(string)(request_id->not_query||"    " (request_id->raw_url && "    " (request_id->raw_url/\"?\")[0])||"    " \"-\")"),    "%s" , "url_encode (resource)", 0}),    "protocol": ({"%s", "(string)request_id->prot", 1, "\"-\"", 0}),    "response": ({"%d", "(int)(file->error || 200)", 1, "\"-\"", 0}), -  "bin-response": ({"%2c", "(int)(file->error || 200)", 1, "\"\0\0\"", 0}), +  "bin-response": ({"%2c", "(int)(file->error || 200)", 1, "\"\\0\\0\"", 0}),    "length": ({"%d", "(int)file->len", 1, "\"0\"", 0}), -  "bin-length": ({"%4c", "(int)file->len", 1, "\"\0\0\0\0\"", 0}), +  "bin-length": ({"%4c", "(int)file->len", 1, "\"\\0\\0\\0\\0\"", 0}),    "request-time": ({"%1.4f", ("(float)(gethrtime() - "    " request_id->hrtime) /"    "1000000.0"),    1, "\"-\"", 0}),   #if 0    // This needs to be solved better to work correctly when gethrvtime    // tracks thread local vtime.   #if constant (gethrvtime)    // Note: This function exists on a lot more platforms in pike >= 7.6.    "request-vtime": ({"%1.4f", ("(float)(gethrvtime() - "