From: Yann Ylavic Date: Mon, 27 Jun 2016 21:45:45 +0000 (+0000) Subject: mod_proxy_http2: don't use ap_proxy_ssl_connection_cleanup(), there may be X-Git-Tag: 2.5.0-alpha~1462 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1bf57bc2989fe67276fc662ce44144572ed450e;p=apache mod_proxy_http2: don't use ap_proxy_ssl_connection_cleanup(), there may be data available on the backend connection before we reuse it (e.g. PING or SETTINGS change). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1750414 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/mod_proxy_http2.c b/modules/http2/mod_proxy_http2.c index 74b3dfcd8d..b4186ade89 100644 --- a/modules/http2/mod_proxy_http2.c +++ b/modules/http2/mod_proxy_http2.c @@ -520,11 +520,6 @@ run_connect: } ctx->p_conn->is_ssl = ctx->is_ssl; - if (ctx->is_ssl) { - /* If there is still some data on an existing ssl connection, now - * would be a good timne to get rid of it. */ - ap_proxy_ssl_connection_cleanup(ctx->p_conn, ctx->rbase); - } /* Step One: Determine the URL to connect to (might be a proxy), * initialize the backend accordingly and determine the server