From 46a692299974722d9cfd9a48703db2592c233339 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 26 Aug 2001 20:09:52 +0000 Subject: [PATCH] backing out the ap_set_keepalive uncheck for Content-Length header git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90707 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_protocol.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 1706a9bed7..86439a7aab 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -136,14 +136,7 @@ AP_DECLARE(int) ap_set_keepalive(request_rec *r) && ((r->status == HTTP_NOT_MODIFIED) || (r->status == HTTP_NO_CONTENT) || r->header_only -#if 0 - /* this was right in 1.x, but in 2.x - * ap_content_length_filter has already set Content-Length - * before this function is called - * XXX: should there be a different check in place of this? - */ || apr_table_get(r->headers_out, "Content-Length") -#endif || ap_find_last_token(r->pool, apr_table_get(r->headers_out, "Transfer-Encoding"), -- 2.40.0