diff options
author | Stefan Eissing <icing@apache.org> | 2016-02-17 10:04:12 +0100 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2016-02-17 10:04:12 +0100 |
commit | 59e3a15e40e7ef091438a45a75d906d6e68a42d3 (patch) | |
tree | 65c8cf9d4619e077aa5895163a303b301e06adf8 /modules/http2/mod_http2.c | |
parent | properly sort the types (no functional change) (diff) | |
download | apache2-59e3a15e40e7ef091438a45a75d906d6e68a42d3.tar.xz apache2-59e3a15e40e7ef091438a45a75d906d6e68a42d3.zip |
fix segfault when not identifying mpm module, added detection for winnt, simeple, motorz and netware
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1730798 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/mod_http2.c')
-rw-r--r-- | modules/http2/mod_http2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/http2/mod_http2.c b/modules/http2/mod_http2.c index 097a372096..49de804bb6 100644 --- a/modules/http2/mod_http2.c +++ b/modules/http2/mod_http2.c @@ -93,6 +93,12 @@ static int h2_post_config(apr_pool_t *p, apr_pool_t *plog, MOD_HTTP2_VERSION, ngh2? ngh2->version_str : "unknown"); switch (h2_conn_mpm_type()) { + case H2_MPM_SIMPLE: + case H2_MPM_MOTORZ: + case H2_MPM_NETWARE: + case H2_MPM_WINNT: + /* not sure we need something extra for those. */ + break; case H2_MPM_EVENT: case H2_MPM_WORKER: /* all fine, we know these ones */ |