]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Do not try to parse already aborted requests
authorRuediger Pluem <rpluem@apache.org>
Mon, 6 Jul 2020 11:55:21 +0000 (11:55 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 6 Jul 2020 11:55:21 +0000 (11:55 +0000)
Submitted by: icing

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879544 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_task.c

index 4ec4e01fd59ebb1cbcf58d6f4e8c2229eaaf9527..0581a30f2a87230b818d769aa2945a5fe2bb0247 100644 (file)
@@ -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);