From: Lars Wendler Date: Mon, 10 Jul 2017 08:39:20 +0000 (+0200) Subject: apache-2.eclass: http2 does not work with prefork MPM. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4b33fc3fc85114b1a95509eb393299ebc428c167;p=gentoo.git apache-2.eclass: http2 does not work with prefork MPM. --- 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