From: Ruediger Pluem Date: Thu, 31 Mar 2022 19:39:17 +0000 (+0000) Subject: * Close the connection in case an EOC bucket was seen X-Git-Tag: 2.5.0-alpha2-ci-test-only~424 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d443ed4fdb9907cf3f436cb852f85c89f9f38ac;p=thirdparty%2Fapache%2Fhttpd.git * Close the connection in case an EOC bucket was seen git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899451 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index b1816ade6be..dbdd515592e 100644 --- a/modules/http/http_filters.c +++ b/modules/http/http_filters.c @@ -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; } }