Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 82414 invoked by uid 500); 17 Jun 2002 13:48:46 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 82401 invoked from network); 17 Jun 2002 13:48:46 -0000 Reply-To: From: "Ryan Bloom" To: Subject: RE: [REPOST] [PATCH] Implement ap_init_filter_func Date: Mon, 17 Jun 2002 05:25:55 -0700 Organization: Covalent Technologies Message-ID: <00fb01c215fa$20e856e0$0a01230a@KOJ> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <20020616233018.B22524@apache.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Q: Do all filters need to change? > A: As indicated in the patch below, most filters (those that are > deterministic based on the file) do not need to do anything other > than add a NULL parameter to the filter registration function. The > rationale for making this part of the filter_rec rather than as a > hook is that multiple hooks of the same type per file are not > allowed (AIUI), while it is possible to have multiple filters per > file. This allows separate init functions for input and output > filters (but also the same!). Multiple hooks of the same type are certainly allowed in the same file. The reason for not doing this as a hook was covered earlier when discussing the insert_filters hook. Ryan