From 7a1ec9c35c4e91cfeb7e9d41e5669a59a94add76 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Fri, 3 Nov 2000 22:35:52 +0000 Subject: [PATCH] Sub requests should never get into the http headers filter, so we remove the check for it, and through in an ASSERT. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86829 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index e987bd2c639..8e63125dc82 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2328,9 +2328,9 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f, ap_bu apr_size_t len = 0; header_struct h; + AP_DEBUG_ASSERT(!r->main); + if (r->assbackwards) { - if (!r->main) - ap_bsetopt(r->connection->client, BO_BYTECT, &zero); r->sent_bodyct = 1; ap_remove_output_filter(f); return ap_pass_brigade(f->next, b); -- 2.47.2