From 4b33fc3fc85114b1a95509eb393299ebc428c167 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 10 Jul 2017 10:39:20 +0200 Subject: [PATCH] apache-2.eclass: http2 does not work with prefork MPM. --- eclass/apache-2.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass index 0a4fe86df5b6..20e93f3b3dac 100644 --- a/eclass/apache-2.eclass +++ b/eclass/apache-2.eclass @@ -171,6 +171,10 @@ setup_mpm() { eerror "You have selected a non-threaded MPM but USE=threads is enabled" die "invalid use flag combination" fi + + if [[ "${MY_MPM}" = *prefork* ]] && use apache2_modules_http2 ; then + die "http2 does not work with prefork MPM." + fi } # @VARIABLE: MODULE_CRITICAL -- 2.26.2