diff options
author | Yann Ylavic <ylavic@apache.org> | 2020-04-16 12:32:33 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2020-04-16 12:32:33 +0000 |
commit | f461bcf12cab094245341b66ff69d3556c17f4bb (patch) | |
tree | 0f724a9e066d3edce093fca25d2967abb3ad9f15 /modules/filters | |
parent | 118b51d6d65c38cf667885a65fbb96cd3c6508b5 (diff) | |
download | httpd-f461bcf12cab094245341b66ff69d3556c17f4bb.tar.gz |
Add missing pool tags to help debugging.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876599 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/filters')
-rw-r--r-- | modules/filters/mod_include.c | 1 | ||||
-rw-r--r-- | modules/filters/mod_sed.c | 1 | ||||
-rw-r--r-- | modules/filters/mod_substitute.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 9f69d8adf9..584d8fb311 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -3855,6 +3855,7 @@ static apr_status_t includes_filter(ap_filter_t *f, apr_bucket_brigade *b) ctx->intern = intern = apr_palloc(r->pool, sizeof(*ctx->intern)); ctx->pool = r->pool; apr_pool_create(&ctx->dpool, ctx->pool); + apr_pool_tag(ctx->dpool, "includes_dpool"); /* runtime data */ intern->tmp_bb = apr_brigade_create(ctx->pool, f->c->bucket_alloc); diff --git a/modules/filters/mod_sed.c b/modules/filters/mod_sed.c index 8d29a03707..0181deefa0 100644 --- a/modules/filters/mod_sed.c +++ b/modules/filters/mod_sed.c @@ -254,6 +254,7 @@ static apr_status_t init_context(ap_filter_t *f, sed_expr_config *sed_cfg, int u ctx->bufsize = MODSED_OUTBUF_SIZE; if (usetpool) { apr_pool_create(&(ctx->tpool), r->pool); + apr_pool_tag(ctx->tpool, "sed_tpool"); } else { ctx->tpool = r->pool; diff --git a/modules/filters/mod_substitute.c b/modules/filters/mod_substitute.c index efbdffc404..58e696debb 100644 --- a/modules/filters/mod_substitute.c +++ b/modules/filters/mod_substitute.c @@ -450,6 +450,7 @@ static apr_status_t substitute_filter(ap_filter_t *f, apr_bucket_brigade *bb) ctx->passbb = apr_brigade_create(f->r->pool, f->c->bucket_alloc); /* Create our temporary pool only once */ apr_pool_create(&(ctx->tpool), f->r->pool); + apr_pool_tag(ctx->tpool, "substitute_tpool"); apr_table_unset(f->r->headers_out, "Content-Length"); } |