From: Jeff Trawick Date: Mon, 13 Oct 2003 23:43:00 +0000 (+0000) Subject: tag the pools created for requests and subrequests X-Git-Tag: pre_ajp_proxy~1110 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=45384da23bd678a4612f7d55154d7078a579ef79;p=thirdparty%2Fapache%2Fhttpd.git tag the pools created for requests and subrequests git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101441 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/protocol.c b/server/protocol.c index eed204bda89..1222e84466c 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -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; diff --git a/server/request.c b/server/request.c index df8959304ab..a0489b3722e 100644 --- a/server/request.c +++ b/server/request.c @@ -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;