Branch: Tag:

2001-07-15

2001-07-15 23:59:48 by Martin Nilsson <mani@lysator.liu.se>

Added a root_id which always is the top request id object.

Rev: server/protocols/http.pike:1.320

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2000, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.319 2001/06/25 17:46:51 nilsson Exp $"; + constant cvs_version = "$Id: http.pike,v 1.320 2001/07/15 23:59:48 nilsson Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
60:      Configuration conf;   Protocol port_obj; + RequestID root_id;      #include <roxen.h>   #include <module.h>
2136:   // c->first = first;    c->port_obj = port_obj;    c->conf = conf; +  c->root_id = root_id;    c->time = time;    c->raw_url = raw_url;   
2202:   // string q = f->read( 8192, 1 );   // if( q ) got_data( 0, q );    } +  root_id = this_object();   }      void chain(object f, object c, string le)