Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 76031 invoked from network); 28 Mar 2007 07:44:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2007 07:44:23 -0000 Received: (qmail 88704 invoked by uid 500); 28 Mar 2007 07:44:30 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 88683 invoked by uid 500); 28 Mar 2007 07:44:30 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 88674 invoked by uid 99); 28 Mar 2007 07:44:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2007 00:44:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [199.203.54.245] (HELO vl654.host245.netvision.net.il) (199.203.54.245) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2007 00:44:18 -0700 Received: from [192.168.2.115] (bzq-88-154-105-253.red.bezeqint.net [88.154.105.253]) (authenticated bits=0) by mail1.mirimar.net (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l2S7hpB6015519 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 28 Mar 2007 09:43:53 +0200 Message-ID: <460A1C96.5050701@beamartyr.net> Date: Wed, 28 Mar 2007 09:43:18 +0200 From: Issac Goldstand Organization: Mirimar Networks User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Re: Protocol input filter question References: In-Reply-To: X-Enigmail-Version: 0.94.2.0 OpenPGP: url=http://www.beamartyr.net/pubkey.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.90.1/2945/Wed Mar 28 01:58:50 2007 on hector.mirimar.net X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org IIRC, you can use create_request and still inject protocol filters; nothing has been read from the client at that point. Vitale, Chris (ISS Atlanta) wrote: > I've been experimenting with Apache 2.0.59 input protocol filters on > Linux. > > I understand that the post_read_request hook is too late to add an input > protocol filter. All the protocol filters have already run. > > Which hook would be best for calling ap_add_input_filter? I want to > manipulate the contents of these buckets just as freely as buckets in a > content filter. When I'm done they'll still be valid HTTP. I can't add > it in something like pre_connection or process_connection because I > don't have a request_rec just yet. > > Would I be better off just calling hook_process_connection like > mod_echo, but passing buckets to my next filter rather than back to the > client? > > Thanks, > > vitale > >