projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f92bd0
)
apache-2.eclass: http2 does not work with prefork MPM.
author
Lars Wendler
<polynomial-c@gentoo.org>
Mon, 10 Jul 2017 08:39:20 +0000
(10:39 +0200)
committer
Lars Wendler
<polynomial-c@gentoo.org>
Mon, 10 Jul 2017 08:40:19 +0000
(10:40 +0200)
eclass/apache-2.eclass
patch
|
blob
|
history
diff --git
a/eclass/apache-2.eclass
b/eclass/apache-2.eclass
index 0a4fe86df5b6026ba4e87f0a39c6aefbe4e9c86d..20e93f3b3dacd9bd57220d7f4ca9fc02ebdeb884 100644
(file)
--- 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