httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: cvs commit: apache-2.0/src/main http_protocol.c
Date Thu, 12 Oct 2000 15:24:36 GMT

> 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
-------------------------------------------------------------------------------


Mime
View raw message