X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=modules%2Fhttp2%2Fh2_switch.c;h=ef6ae29e0802c12fb25a8065c89cf112e11e36c6;hb=5bdb7b75121bf7dc37bfc3f81c59e44013e1c4de;hp=3a8567eb1b0bd9d7434c02e9366fba4cab970b3d;hpb=94dffd15496e39d64cc1eb49657adfe1a7a7c408;p=apache 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;