httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <>
Subject Re: RFE: ap_input_mode_t as bitflags
Date Thu, 12 Aug 2004 21:18:06 GMT
Glenn Strauss <> writes:

> I think your response demonstrates fairly well how obtuse input
> filtering has become. ;)

IMO ap_input_mode_t should disappear and APR_NONBLOCK_READ
should either be fixed or dumped as well.  For a filter
invoked with APR_BLOCK_READ, there's nothing in the design 
which prevents a filter from looping over ap_get_brigade until 
it has enough data to return a meaningful brigade to its caller.
APR_NONBLOCK_READ invocations should allow a filter to leave the
returned brigade empty.

Joe Schaefer

View raw message