summaryrefslogtreecommitdiffstats
path: root/modules/proxy/mod_proxy_hcheck.c
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2018-06-06 10:42:33 +0200
committerJoe Orton <jorton@apache.org>2018-06-06 10:42:33 +0200
commitdd57f485f9b237714510a89832eba9979b8dc964 (patch)
treef027c54bf2f4c35f33cc650c9f02ca1ef9f839bc /modules/proxy/mod_proxy_hcheck.c
parent* modules/proxy/proxy_util.c (ap_proxy_share_worker): Skip creating subpool (diff)
downloadapache2-dd57f485f9b237714510a89832eba9979b8dc964.tar.xz
apache2-dd57f485f9b237714510a89832eba9979b8dc964.zip
* modules/proxy/mod_proxy_hcheck.c (sctx_t, hc_create_config):
Remove unused bucket allocator created off pconf. Tag the subpool. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1832991 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/proxy/mod_proxy_hcheck.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/proxy/mod_proxy_hcheck.c b/modules/proxy/mod_proxy_hcheck.c
index 485fa74141..0265b4ab97 100644
--- a/modules/proxy/mod_proxy_hcheck.c
+++ b/modules/proxy/mod_proxy_hcheck.c
@@ -53,7 +53,6 @@ typedef struct {
typedef struct {
apr_pool_t *p;
- apr_bucket_alloc_t *ba;
apr_array_header_t *templates;
apr_table_t *conditions;
apr_hash_t *hcworkers;
@@ -81,7 +80,7 @@ static void *hc_create_config(apr_pool_t *p, server_rec *s)
sctx_t *ctx = apr_pcalloc(p, sizeof(sctx_t));
ctx->s = s;
apr_pool_create(&ctx->p, p);
- ctx->ba = apr_bucket_alloc_create(p);
+ apr_pool_tag(ctx->p, "proxy_hcheck");
ctx->templates = apr_array_make(p, 10, sizeof(hc_template_t));
ctx->conditions = apr_table_make(p, 10);
ctx->hcworkers = apr_hash_make(p);