Branch: Tag:

2003-06-18

2003-06-18 11:51:30 by Tomas Nilsson <tomas@roxen.com>

Added support for connection local data in RequestID->connection_misc
mapping.

Rev: server/base_server/prototypes.pike:1.63
Rev: server/protocols/http.pike:1.402

6:   #include <module.h>   #include <variables.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.62 2003/06/17 12:35:16 grubba Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.63 2003/06/18 11:51:30 tomas Exp $";      class Variable   {
567:    //! passing between modules et cetera. Be sure to use a key unique to your    //! own application.    +  mapping (string:mixed) connection_misc; +  //! This mapping contains miscellaneous non-standardized information, and +  //! is the typical location to store away your own connection-local data +  //! for passing between requests on the same connection et cetera. Be sure +  //! to use a key unique to your own application. +     mapping (string:string) cookies;    //! The indices and values map to the names and values of the cookies sent    //! by the client for the requested page. All data (names and values) are
984:    c->misc = copy_value( misc );    c->misc->orig = t;    +  c->connection_misc = connection_misc; +     c->prestate = prestate;    c->supports = supports;    c->config = config;