summaryrefslogtreecommitdiffstats
path: root/modules/aaa
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2020-04-16 14:32:33 +0200
committerYann Ylavic <ylavic@apache.org>2020-04-16 14:32:33 +0200
commitf461bcf12cab094245341b66ff69d3556c17f4bb (patch)
tree0f724a9e066d3edce093fca25d2967abb3ad9f15 /modules/aaa
parentAxe remainder from r1875947. (diff)
downloadapache2-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/aaa')
-rw-r--r--modules/aaa/mod_authnz_fcgi.c1
-rw-r--r--modules/aaa/mod_authnz_ldap.c1
-rw-r--r--modules/aaa/mod_authz_groupfile.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/modules/aaa/mod_authnz_fcgi.c b/modules/aaa/mod_authnz_fcgi.c
index b32d8a37d4..ae437d8c02 100644
--- a/modules/aaa/mod_authnz_fcgi.c
+++ b/modules/aaa/mod_authnz_fcgi.c
@@ -713,6 +713,7 @@ static void req_rsp(request_rec *r, const fcgi_provider_conf *conf,
}
apr_pool_create(&temp_pool, r->pool);
+ apr_pool_tag(temp_pool, "mod_authnz_fcgi (req_rsp)");
setupenv(r, password, apache_role);
diff --git a/modules/aaa/mod_authnz_ldap.c b/modules/aaa/mod_authnz_ldap.c
index b9f8671c75..5ba21e04db 100644
--- a/modules/aaa/mod_authnz_ldap.c
+++ b/modules/aaa/mod_authnz_ldap.c
@@ -481,6 +481,7 @@ static authn_ldap_request_t* build_request_config(request_rec *r)
(authn_ldap_request_t *)apr_pcalloc(r->pool, sizeof(authn_ldap_request_t));
ap_set_module_config(r->request_config, &authnz_ldap_module, req);
apr_pool_create(&(req->ldc_pool), r->pool);
+ apr_pool_tag(req->ldc_pool, "authn_ldap_req_ldc"):
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01740)
"ldap authorize: Creating LDAP req structure");
return req;
diff --git a/modules/aaa/mod_authz_groupfile.c b/modules/aaa/mod_authz_groupfile.c
index 88c6cf0f3e..c2431e05b7 100644
--- a/modules/aaa/mod_authz_groupfile.c
+++ b/modules/aaa/mod_authz_groupfile.c
@@ -98,6 +98,8 @@ static apr_status_t groups_for_user(apr_pool_t *p, char *user, char *grpfile,
}
apr_pool_create(&sp, p);
+ apr_pool_tag(sp, "authz_groupfile (groups_for_user)");
+
ap_varbuf_init(p, &vb, VARBUF_INIT_LEN);
while (!(ap_varbuf_cfg_getline(&vb, f, VARBUF_MAX_LEN))) {