diff options
author | Yann Ylavic <ylavic@apache.org> | 2020-04-16 14:32:33 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2020-04-16 14:32:33 +0200 |
commit | f461bcf12cab094245341b66ff69d3556c17f4bb (patch) | |
tree | 0f724a9e066d3edce093fca25d2967abb3ad9f15 /modules/generators | |
parent | Axe remainder from r1875947. (diff) | |
download | apache2-f461bcf12cab094245341b66ff69d3556c17f4bb.tar.xz apache2-f461bcf12cab094245341b66ff69d3556c17f4bb.zip |
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/generators')
-rw-r--r-- | modules/generators/mod_autoindex.c | 1 | ||||
-rw-r--r-- | modules/generators/mod_cgid.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index 21fc59a011..f977b88324 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -1517,6 +1517,7 @@ static void output_directories(struct ent **ar, int n, char *breakrow = ""; apr_pool_create(&scratch, r->pool); + apr_pool_tag(scratch, "autoindex_scratch"); name_width = d->name_width; desc_width = d->desc_width; diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index 2778430ee4..0c50e0487c 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -713,6 +713,7 @@ static int cgid_server(void *data) apr_status_t rv; apr_pool_create(&ptrans, pcgi); + apr_pool_tag(ptrans, "cgid_ptrans"); apr_signal(SIGCHLD, SIG_IGN); apr_signal(SIGHUP, daemon_signal_handler); @@ -997,6 +998,7 @@ static int cgid_start(apr_pool_t *p, server_rec *main_server, else if (daemon_pid == 0) { if (pcgi == NULL) { apr_pool_create(&pcgi, p); + apr_pool_tag(pcgi, "cgid_pcgi"); } exit(cgid_server(main_server) > 0 ? DAEMON_STARTUP_ERROR : -1); } |