From: Ruediger Pluem Date: Mon, 6 Jul 2020 11:55:21 +0000 (+0000) Subject: * Do not try to parse already aborted requests X-Git-Tag: 2.5.0-alpha2-ci-test-only~1278 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cb887b125ad87b93eb8abd12241420240826d6d;p=thirdparty%2Fapache%2Fhttpd.git * Do not try to parse already aborted requests Submitted by: icing git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879544 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/h2_task.c b/modules/http2/h2_task.c index 4ec4e01fd59..0581a30f2a8 100644 --- a/modules/http2/h2_task.c +++ b/modules/http2/h2_task.c @@ -380,7 +380,7 @@ static apr_status_t h2_filter_parse_h1(ap_filter_t* f, apr_bucket_brigade* bb) /* There are cases where we need to parse a serialized http/1.1 * response. One example is a 100-continue answer in serialized mode * or via a mod_proxy setup */ - while (bb && !task->output.sent_response) { + while (bb && !task->c->aborted && !task->output.sent_response) { status = h2_from_h1_parse_response(task, f, bb); ap_log_cerror(APLOG_MARK, APLOG_TRACE2, status, f->c, "h2_task(%s): parsed response", task->id);