Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 95231 invoked by uid 500); 12 Oct 2000 15:23:42 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 95217 invoked from network); 12 Oct 2000 15:23:40 -0000 X-Authentication-Warning: koj: rbb owned process doing -bs Date: Thu, 12 Oct 2000 08:24:36 -0700 (PDT) From: rbb@covalent.net X-Sender: rbb@koj To: new-httpd@apache.org Subject: Re: cvs commit: apache-2.0/src/main http_protocol.c In-Reply-To: <20001012080844.E347@lyra.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > You didn't screw it up... I did :-) Here I am talking about passing around > a parameter saying "no more than this", yet I ask about unread input. > > hehe... > > I see two changes pending, at least: > > 1) Add an apr_size_t to the (input) filter function prototype > 2) General policy for input filters is to return *no more* than requested. > If they have any excess, then it must be stored in their ctx somehow. I am in the middle of implementing #1, and as a part of that I documented #2. There is nothing we can do for #2 to enforce it, but we don't really have to either. We have always allowed people to write incorrect modules, they just don't work in the server. :-) Ryan _______________________________________________________________________________ Ryan Bloom rbb@apache.org 406 29th St. San Francisco, CA 94131 -------------------------------------------------------------------------------