httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server protocol.c request.c
Date Sat, 01 Nov 2003 16:09:30 GMT
trawick     2003/11/01 08:09:30

  Modified:    .        Tag: APACHE_2_0_BRANCH STATUS
               server   Tag: APACHE_2_0_BRANCH protocol.c request.c
  Log:
  backport this from Apache 2.1-dev:
  
    Tag the pools created for requests and subrequests.
  
  Reviewed by:   striker, nd
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.751.2.516 +1 -11     httpd-2.0/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/STATUS,v
  retrieving revision 1.751.2.515
  retrieving revision 1.751.2.516
  diff -u -r1.751.2.515 -r1.751.2.516
  --- STATUS	1 Nov 2003 15:54:15 -0000	1.751.2.515
  +++ STATUS	1 Nov 2003 16:09:29 -0000	1.751.2.516
  @@ -276,16 +276,6 @@
          0: nd
            nd: can the local_addr->port ever be 0?
   
  -    * Tag the pools created for requests and subrequests.
  -        server/request.c r1.129
  -        server/protocol.c r1.137
  -      +1: trawick, striker, nd
  -         nd: I'm not really sure, what is it good for. What is it good for? ;-)
  -         trawick: It is a minor debug aid.  If you're debugging/tracing some
  -           apr operation or other utility routine, it is nice to display/trace
  -           the pool tag and know whether or not it is the [sub-]request pool.
  -	 nd: ok, convinced.
  -
       * mod_status: Report total CPU time accurately when using a
         threaded MPM.  PR: 23795
           modules/generators/mod_status.c r1.75
  
  
  
  No                   revision
  No                   revision
  1.121.2.10 +1 -0      httpd-2.0/server/protocol.c
  
  Index: protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/protocol.c,v
  retrieving revision 1.121.2.9
  retrieving revision 1.121.2.10
  diff -u -r1.121.2.9 -r1.121.2.10
  --- protocol.c	10 Sep 2003 12:13:51 -0000	1.121.2.9
  +++ protocol.c	1 Nov 2003 16:09:29 -0000	1.121.2.10
  @@ -861,6 +861,7 @@
   
       apr_pool_create(&p, conn->pool);
       r = apr_pcalloc(p, sizeof(request_rec));
  +    apr_pool_tag(p, "request");
       r->pool            = p;
       r->connection      = conn;
       r->server          = conn->base_server;
  
  
  
  1.121.2.6 +1 -0      httpd-2.0/server/request.c
  
  Index: request.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/request.c,v
  retrieving revision 1.121.2.5
  retrieving revision 1.121.2.6
  diff -u -r1.121.2.5 -r1.121.2.6
  --- request.c	1 Jul 2003 01:25:07 -0000	1.121.2.5
  +++ request.c	1 Nov 2003 16:09:29 -0000	1.121.2.6
  @@ -1505,6 +1505,7 @@
       request_rec *rnew;
   
       apr_pool_create(&rrp, r->pool);
  +    apr_pool_tag(rrp, "subrequest");
       rnew = apr_pcalloc(rrp, sizeof(request_rec));
       rnew->pool = rrp;
   
  
  
  

Mime
View raw message