From ce926e4660ea51ff499af3a496b96c041ecc3ff4 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Tue, 17 Nov 2015 11:30:31 +0000 Subject: [PATCH] reverting change re flush git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714756 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http2/h2_h2.c | 6 +----- modules/http2/h2_switch.c | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/http2/h2_h2.c b/modules/http2/h2_h2.c index 857e3e27c2..54fe9e0fa0 100644 --- a/modules/http2/h2_h2.c +++ b/modules/http2/h2_h2.c @@ -648,14 +648,10 @@ int h2_h2_process_conn(conn_rec* c) * the connection. */ if (h2_ctx_is_active(ctx)) { - apr_status_t status; - ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, c, "h2_h2, connection, h2 active"); - status = h2_conn_process(c, NULL); - ap_flush_conn(c); - return status; + return h2_conn_process(c, NULL); } ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, c, "h2_h2, declined"); diff --git a/modules/http2/h2_switch.c b/modules/http2/h2_switch.c index 948241356a..c107db8e73 100644 --- a/modules/http2/h2_switch.c +++ b/modules/http2/h2_switch.c @@ -160,7 +160,6 @@ static int h2_protocol_switch(conn_rec *c, request_rec *r, server_rec *s, ap_log_rerror(APLOG_MARK, APLOG_DEBUG, status, r, "session proessed, unexpected status"); } - ap_flush_conn(r->connection); } return DONE; } -- 2.40.0