From: Ryan Bloom Date: Fri, 3 Nov 2000 22:35:52 +0000 (+0000) Subject: Sub requests should never get into the http headers filter, so we remove X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49f21e00f6edd65c62e87829b3f2e3c9255825b6;p=apache 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 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index e987bd2c63..8e63125dc8 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);