summaryrefslogtreecommitdiffstats
path: root/modules/http2/h2_workers.c
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2019-05-28 14:42:17 +0200
committerStefan Eissing <icing@apache.org>2019-05-28 14:42:17 +0200
commit5b32f27b77efc4688a3c81f26abb1246c2e97867 (patch)
treec21ed4c157ab0395b3e65264917bf0bb5a3e6d45 /modules/http2/h2_workers.c
parent Addendum to r1856493: check NULLness of new arg parameter. (diff)
downloadapache2-5b32f27b77efc4688a3c81f26abb1246c2e97867.tar.xz
apache2-5b32f27b77efc4688a3c81f26abb1246c2e97867.zip
* modules/http2: reverting r1859724, as no good.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1860257 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/h2_workers.c')
-rw-r--r--modules/http2/h2_workers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/http2/h2_workers.c b/modules/http2/h2_workers.c
index 5ee934abf0..699f533f80 100644
--- a/modules/http2/h2_workers.c
+++ b/modules/http2/h2_workers.c
@@ -83,7 +83,7 @@ static apr_status_t activate_slot(h2_workers *workers, h2_slot *slot)
if (!slot->lock) {
status = apr_thread_mutex_create(&slot->lock,
- APR_THREAD_MUTEX_NESTED,
+ APR_THREAD_MUTEX_DEFAULT,
workers->pool);
if (status != APR_SUCCESS) {
push_slot(&workers->free, slot);
@@ -336,7 +336,7 @@ h2_workers *h2_workers_create(server_rec *s, apr_pool_t *server_pool,
}
status = apr_thread_mutex_create(&workers->lock,
- APR_THREAD_MUTEX_NESTED,
+ APR_THREAD_MUTEX_DEFAULT,
workers->pool);
if (status == APR_SUCCESS) {
n = workers->nslots = workers->max_workers;