]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
tag the pools created for requests and subrequests
authorJeff Trawick <trawick@apache.org>
Mon, 13 Oct 2003 23:43:00 +0000 (23:43 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 13 Oct 2003 23:43:00 +0000 (23:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101441 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c
server/request.c

index eed204bda8929d73d92766f6e962c677cad4427f..1222e84466c0b6429b8b14d174fd18b991d68501 100644 (file)
@@ -858,6 +858,7 @@ request_rec *ap_read_request(conn_rec *conn)
     apr_bucket_brigade *tmp_bb;
 
     apr_pool_create(&p, conn->pool);
+    apr_pool_tag(p, "request");
     r = apr_pcalloc(p, sizeof(request_rec));
     r->pool            = p;
     r->connection      = conn;
index df8959304abc9bbab45fe3d9cd4a23c944892c28..a0489b3722e060deb5435871af056b7d5b67a6e5 100644 (file)
@@ -1508,6 +1508,7 @@ static request_rec *make_sub_request(const request_rec *r,
     request_rec *rnew;
 
     apr_pool_create(&rrp, r->pool);
+    apr_pool_tag(rrp, "subrequest");
     rnew = apr_pcalloc(rrp, sizeof(request_rec));
     rnew->pool = rrp;