Branch: Tag:

2004-05-18

2004-05-18 18:24:12 by Martin Stjernholm <mast@lysator.liu.se>

Moved CacheKey to prototypes.pike to avoid parent pointers to request
objects.

Rev: server/base_server/prototypes.pike:1.134
Rev: server/protocols/http.pike:1.448

6:   #include <module.h>   #include <variables.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.133 2004/05/18 15:43:52 grubba Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.134 2004/05/18 18:24:12 mast Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
674:   // Kludge for resolver problems   static function _charset_decoder_func;    + //! Used as @expr{id->misc->cachekey@}. + class CacheKey { + #if ID_CACHEKEY_DEBUG +  constant __num = ({ 0 }); +  int _num; +  string _sprintf() { return "CacheKey(#" + _num + ")"; } +  void create() { _num = ++__num[0]; } +  void destroy() { werror("CacheKey(#" + _num + "): --DESTROY--\n" +  "%s\n\n", "" || describe_backtrace(backtrace())); } + #endif + } +    class RequestID   //! @appears RequestID   //! The request information object contains all request-local information and