]> granicus.if.org Git - apache/commitdiff
* modules/proxy/mod_proxy_hcheck.c (sctx_t, hc_create_config):
authorJoe Orton <jorton@apache.org>
Wed, 6 Jun 2018 08:42:33 +0000 (08:42 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 6 Jun 2018 08:42:33 +0000 (08:42 +0000)
  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

modules/proxy/mod_proxy_hcheck.c

index 485fa741414d567704d7f30ea40aadddf500fd00..0265b4ab9791d23b13e5abd15130757fe1c4a6ac 100644 (file)
@@ -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);