You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2018/06/06 08:42:33 UTC
svn commit: r1832991 - /httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c
Author: jorton
Date: Wed Jun 6 08:42:33 2018
New Revision: 1832991
URL: http://svn.apache.org/viewvc?rev=1832991&view=rev
Log:
* modules/proxy/mod_proxy_hcheck.c (sctx_t, hc_create_config):
Remove unused bucket allocator created off pconf.
Tag the subpool.
Modified:
httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c
Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c?rev=1832991&r1=1832990&r2=1832991&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c Wed Jun 6 08:42:33 2018
@@ -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
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);