]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Close the connection in case an EOC bucket was seen
authorRuediger Pluem <rpluem@apache.org>
Thu, 31 Mar 2022 19:39:17 +0000 (19:39 +0000)
committerRuediger Pluem <rpluem@apache.org>
Thu, 31 Mar 2022 19:39:17 +0000 (19:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899451 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_filters.c

index b1816ade6beeb5c48010700426c6d9789c64ec4c..dbdd515592e54e8565063f8882bbcfe46c97d6bb 100644 (file)
@@ -1835,6 +1835,7 @@ apr_status_t ap_http_outerror_filter(ap_filter_t *f,
         }
         /* Detect EOC buckets and memorize this in the context. */
         if (AP_BUCKET_IS_EOC(e)) {
+            r->connection->keepalive = AP_CONN_CLOSE;
             ctx->seen_eoc = 1;
         }
     }