Glenn Strauss <[EMAIL PROTECTED]> 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