commit:     4b33fc3fc85114b1a95509eb393299ebc428c167
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 10 08:39:20 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jul 10 08:40:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b33fc3f

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 0a4fe86df5b..20e93f3b3da 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

Reply via email to