1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

* Add some some comment why we do not limit hmax any longer

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822858 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ruediger Pluem
2018-02-01 08:34:59 +00:00
parent 98ce4c39b3
commit ccbb6885b9

View File

@@ -1841,6 +1841,11 @@ 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) {
/*
* Do not limit hmax to mpm_threads any longer as we might have
* more processing threads around when mod_http2 is loaded which
* has it's own pool of processing threads on top of this.
*/
if (worker->s->hmax == 0) {
worker->s->hmax = mpm_threads;
}