apache-2.eclass: http2 does not work with prefork MPM.
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 10 Jul 2017 08:39:20 +0000 (10:39 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 10 Jul 2017 08:40:19 +0000 (10:40 +0200)
eclass/apache-2.eclass

index 0a4fe86df5b6026ba4e87f0a39c6aefbe4e9c86d..20e93f3b3dacd9bd57220d7f4ca9fc02ebdeb884 100644 (file)
@@ -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