Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 42888 invoked by uid 500); 24 Aug 2000 20:09:34 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 42747 invoked from network); 24 Aug 2000 20:09:19 -0000 From: "Allan Edwards" To: "New-Httpd" Subject: filters and subrequests Date: Thu, 24 Aug 2000 16:10:23 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N We really don't want to call ap_run_insert_filter from ap_run_sub_req do we? The main request has already run this and the subrequest inherits the filters from it. e.g. if we process an SSI with an 'include file', the subrequest that processes the included file ends up with the filter sequence: CORE->CHUNK->CORE and we write out the file without any chunking headers. Seems fairly obvious but I'm still trying to get my head around the filtering design. Allan =================================================================== RCS file: /home/cvs/apache-2.0/src/main/http_request.c,v retrieving revision 1.43 diff -u -d -b -u -3 -r1.43 http_request.c --- http_request.c 2000/08/12 18:45:35 1.43 +++ http_request.c 2000/08/24 19:25:19 @@ -972,9 +972,6 @@ { int retval; - /* see comments in process_request_internal() */ - ap_run_insert_filter(r); - #ifndef APACHE_XLATE retval = ap_invoke_handler(r); #else /*APACHE_XLATE*/