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 - 2009, 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.1034 2009/06/11 07:48:12 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1035 2009/06/24 11:38:00 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:908: Inside #if defined(THREADS)
   }    }    }   }       void handle(function f, mixed ... args)   {    handle_queue->write(({f, args }));   }    + int handle_queue_length() + { +  return handle_queue->size(); + } +    int number_of_threads;   //! The number of handler threads to run.      int busy_threads;   //! The number of currently busy threads.      protected array(object) handler_threads = ({});   //! The handler threads, the list is kept for debug reasons.      void start_handler_threads()
Roxen.git/server/base_server/roxen.pike:5877:    "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}),    "length": ({"%d", "(int)file->len", 1, "\"0\"", 0}),    "bin-length": ({"%4c", "(int)file->len", 1, "\"\\0\\0\\0\\0\"", 0}), +  "queue-length": ({"%d", "(int) request_id->queue_length", +  1, "\"-\"", 0}),    "request-time": ({"%1.4f", ("(float)(gethrtime() - "    " request_id->hrtime) /"    "1000000.0"),    1, "\"-\"", 0}),    "queue-time": ({"%1.4f",    "(float) request_id->queue_time / 1000000.0",    1, "\"-\"", 0}),    "handle-time": ({"%1.4f",    "(float) request_id->handle_time / 1000000.0",    1, "\"-\"", 0}),