From 8e833619dc6ddd39388922144ffdd5b8981cd345 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Mon, 4 Jan 2016 16:36:05 +0000 Subject: [PATCH] fixed early returns on connection shutdown that did not properly release locks git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1722916 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http2/h2_mplx.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/http2/h2_mplx.c b/modules/http2/h2_mplx.c index 014f3ae37d..53da5c5633 100644 --- a/modules/http2/h2_mplx.c +++ b/modules/http2/h2_mplx.c @@ -705,9 +705,6 @@ apr_status_t h2_mplx_out_write(h2_mplx *m, int stream_id, H2_MPLX_IO_OUT(APLOG_TRACE2, m, io, "h2_mplx_out_write"); have_out_data_for(m, stream_id); - if (m->aborted) { - return APR_ECONNABORTED; - } } else { status = APR_ECONNABORTED; @@ -744,12 +741,6 @@ apr_status_t h2_mplx_out_close(h2_mplx *m, int stream_id, apr_table_t *trailers) H2_MPLX_IO_OUT(APLOG_TRACE2, m, io, "h2_mplx_out_close"); have_out_data_for(m, stream_id); - if (m->aborted) { - /* if we were the last output, the whole session might - * have gone down in the meantime. - */ - return APR_SUCCESS; - } } else { status = APR_ECONNABORTED; -- 2.40.0