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-Tag: APACHE_2_0_ALPHA_8~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a1ec9c35c4e91cfeb7e9d41e5669a59a94add76;p=thirdparty%2Fapache%2Fhttpd.git 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 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);