summaryrefslogtreecommitdiffstats
path: root/modules/http2/h2_switch.c
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2017-12-24 12:39:30 +0100
committerYann Ylavic <ylavic@apache.org>2017-12-24 12:39:30 +0100
commitc49841f7191f55034198f52ffd430c868020dcd7 (patch)
treecdd43e5b047b49c52d52ccff0c3aa5e6efc9d1b8 /modules/http2/h2_switch.c
parentmpm_event: follow up to r1818804 and r1818951. (diff)
downloadapache2-c49841f7191f55034198f52ffd430c868020dcd7.tar.xz
apache2-c49841f7191f55034198f52ffd430c868020dcd7.zip
mpm_event: follow up to r1818804 and r1818960.
Align mod_http2 with expected returned state from process_connection hooks in async MPMs. When the master connection is handled, enter CONN_STATE_LINGER in any case. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1819214 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/http2/h2_switch.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/http2/h2_switch.c b/modules/http2/h2_switch.c
index 3a8567eb1b..ef6ae29e08 100644
--- a/modules/http2/h2_switch.c
+++ b/modules/http2/h2_switch.c
@@ -185,13 +185,12 @@ static int h2_protocol_switch(conn_rec *c, request_rec *r, server_rec *s,
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, status, r, APLOGNO(03088)
"session setup");
h2_ctx_clear(c);
- return status;
+ return !OK;
}
h2_conn_run(ctx, c);
- return DONE;
}
- return DONE;
+ return OK;
}
return DECLINED;