httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: How to filter headers
Date Thu, 24 Aug 2000 16:11:45 GMT
On Thu, 24 Aug 2000, Rodent of Unusual Size wrote:

> wrote:
> > 
> > 3) ap_pass_brigade converts the headers to a bucket (again either
> >    header or heap type), and that is passed down the filter stack.
> >    Filters make their own decisions based on the header bucket
> No, I don't think ap_pass_brigade should do it.  I think the core
> should do it during the content handling, immediately after the
> actual content handler and right before calling the first filter.
> It creates a new bucket of type 'header', copies r->headers_out and
> r->err_headers_out into it, and inserts it at the head of the brigade.

The only place the core gets called between the content_handler and the
first filter is ap_pass_brigade.  That's why we want to put it in that


Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message