summaryrefslogtreecommitdiff
path: root/modules/http
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2022-03-31 19:39:17 +0000
committerRuediger Pluem <rpluem@apache.org>2022-03-31 19:39:17 +0000
commit5d443ed4fdb9907cf3f436cb852f85c89f9f38ac (patch)
tree2116d1955836ed24aee9e19ec5a066241a5a5742 /modules/http
parent2bcf00780e1875dd522031846fc9561f16bf5757 (diff)
downloadhttpd-5d443ed4fdb9907cf3f436cb852f85c89f9f38ac.tar.gz
* 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
Diffstat (limited to 'modules/http')
-rw-r--r--modules/http/http_filters.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c
index b1816ade6b..dbdd515592 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;
}
}