Branch: Tag:

2000-07-25

2000-07-25 16:19:43 by Marcus Comstedt <marcus@mc.pp.se>

Added InternalRequestID class for truly internal requests.

Rev: server/base_server/roxen.pike:1.512

4:   // 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.511 2000/07/21 17:37:35 lange Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.512 2000/07/25 16:19:43 marcus Exp $";      // Used when running threaded to find out which thread is the backend thread,   // for debug purposes only.
661:    save( );   }    + class InternalRequestID + //! ID for internal requests that are not linked to any real request. + { +  inherit RequestID;    -  +  void create() +  { +  client = ({ "Roxen" }); +  prot = "INTERNAL"; +  method = "GET"; +  variables = ([]); +  misc = ([]); +  cookies = ([]); +  throttle = ([]); +  request_headers = ([]); +  prestate = (<>); +  config = (<>); +  supports = (<>); +  pragma = (<>); +  rest_query = ""; +  extra_extension = ""; +  } + } +    class Protocol   //! The basic protocol.   //! Implements reference handling, finding Configuration objects