Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2009, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.678 2009/05/07 14:15:52 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.679 2009/06/10 12:40:35 mast Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>   #include <timers.h>      #define CATCH(P,X) do{mixed e;if(e=catch{X;})report_error("While "+P+"\n"+describe_backtrace(e));}while(0)      // Tell Pike.count_memory this is global.   constant pike_cycle_depth = 0;
Roxen.git/server/base_server/configuration.pike:4590:   <tr><td>$protocol</td>    <td>The protocol used (normally HTTP/1.1).</td></tr>   <tr><td>$response</td>    <td>The response code sent.</td></tr>   <tr><td>$bin-response</td>    <td>The response code sent as a binary short number.</td></tr>   <tr><td>$length</td>    <td>The length of the data section of the reply.</td></tr>   <tr><td>$bin-length</td>    <td>Same, but as a 32 bit integer in network byte order.</td></tr> + <tr><td>$queue-time</td> +  <td>Time in seconds that the request spent in the internal handler +  queue, waiting to be processed by a handler thread.</td></tr> + <tr><td>$handle-time</td> +  <td>Time in seconds spent processing the request in a handler +  thread. This measures the server processing time, excluding I/O +  and time spent in the handler queue. Note however that this +  measures real time, not virtual process time. I.e. if there are +  other handler threads or processes using the CPU then this might +  not accurately show the time that the Roxen server spent on the +  request. Also note that if a handler thread has to wait for +  responses from other servers then that wait time is included in +  this measurement.</td></tr> + <tr><td>$handle-cputime</td> +  <td>CPU time in seconds spent processing the request in a handler +  thread. Similar to $handle-time, but only includes the actual CPU +  time spent on this request only. Time spent waiting for responses +  from external server is not included here. Note that this time +  might have very low accuracy on some platforms. There are also +  platforms where this measurement isn't available at all, and in +  that case this fields expands to \"-\".</td></tr>   <tr><td>$request-time</td> -  <td>The time the request took (seconds). Note that this measures -  real time, not virtual process time. I.e. if there are other -  processes using the CPU then this will not accurately show the -  time that the Roxen server process spent.</td></tr> +  <td>Time in seconds that the whole request took on the server +  side, including I/O time for receiving the request and sending the +  response. Note that this measures real time - see $handle-time for +  further discussion.</td></tr>   <tr><td>$etag</td>    <td>The entity tag (aka ETag) header of the result.</td></tr>   <tr><td>$referrer</td>    <td>The header 'referer' from the request, or '-'.</td></tr>   <tr><td>$referer</td>    <td>Same as $referrer. Common misspelling kept for    compatibility.</td></tr>   <tr><td>$user-agent</td>    <td>The header 'User-Agent' from the request, or '-'.</td></tr>   <tr><td>$user-agent-raw</td>