From 0ea3db080a7069c4b023dc848accdb4aaf668859 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Thu, 1 Feb 2018 07:34:02 +0000 Subject: [PATCH] * When mod_http2 is loaded more then ThreadsPerChild backend connections can be useful as mod_http2 has an additional thread pool on top of ThreadsPerChild. But leave the default with ThreadsPerChild. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822849 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/proxy_util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index d704dae37d..c8b629e8c7 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -1841,8 +1841,7 @@ PROXY_DECLARE(apr_status_t) ap_proxy_initialize_worker(proxy_worker *worker, ser ap_mpm_query(AP_MPMQ_MAX_THREADS, &mpm_threads); if (mpm_threads > 1) { - /* Set hard max to no more then mpm_threads */ - if (worker->s->hmax == 0 || worker->s->hmax > mpm_threads) { + if (worker->s->hmax == 0) { worker->s->hmax = mpm_threads; } if (worker->s->smax == -1 || worker->s->smax > worker->s->hmax) { -- 2.50.1