From: Joe Orton Date: Tue, 5 Jun 2018 14:47:52 +0000 (+0000) Subject: * modules/proxy/proxy_util.c (ap_proxy_share_worker): Skip creating subpool X-Git-Tag: 2.5.0-alpha2-ci-test-only~2569 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d91c0c069828b056567b548b720fae8ea8abe3bf;p=thirdparty%2Fapache%2Fhttpd.git * modules/proxy/proxy_util.c (ap_proxy_share_worker): Skip creating subpool for debugging unless debug-level logging is enabled. No functional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1832951 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index daf8dd35380..305bd1f6bad 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -1930,7 +1930,8 @@ PROXY_DECLARE(apr_status_t) ap_proxy_share_worker(proxy_worker *worker, proxy_wo } worker->s = shm; worker->s->index = i; - { + + if (APLOGdebug(ap_server_conf)) { apr_pool_t *pool; apr_pool_create(&pool, ap_server_conf->process->pool); ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, APLOGNO(02338)