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.962 2008/09/19 15:45:19 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.963 2009/06/10 12:55:30 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:5948:    "%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}),    "length": ({"%d", "(int)file->len", 1, "\"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 and not. - #if constant (gethrvtime) -  // Note: This function exists on a lot more platforms in pike >= 7.6. -  "request-vtime": ({"%1.4f", ("(float)(gethrvtime() - " -  " request_id->hrvtime) /" -  "1000000.0"), +  "queue-time": ({"%1.4f", +  "(float) request_id->queue_time / 1000000.0",    1, "\"-\"", 0}), - #endif - #endif +  "handle-time": ({"%1.4f", +  "(float) request_id->handle_time / 1000000.0", +  1, "\"-\"", 0}),    "etag": ({"%s", "request_id->misc->etag || \"-\"",    1, "\"-\"", 0}),    "referer": ({"%s", ("sizeof(request_id->referer||({}))?"    "request_id->referer[0]:\"-\""),    1, "\"-\"", 0}),    "user-agent": ({"%s", ("request_id->client?"    "request_id->client*\"%20\":\"-\""),    1, "\"-\"", 0}),    "user-agent-raw": ({"%s", ("request_id->client?"    "request_id->client*\" \":\"-\""),