httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [PATCH] ap_add_filter
Date Thu, 17 Aug 2000 21:30:14 GMT

> If a filter is now allowed ( as I think it should be )
> to insert ANOTHER filter immediately AFTER
> itself... where is the TYPE checking in 
> ap_add_filter() and where is the code that makes
> sure the mixing and matching of CONTEXT 
> versus TRANSPORT filter types stays straight?

There isn't any.  This is done by how Apache works in
general.  Basically filters should only be inserting content filters,
because that is all filters really know.  Transport filters are really
HTTP specific filters, and they should only be installed by Apache proper,
which know how to install them in the right space.  I guess if you could
give an example of a module wanting to install a filter that is a
transport filter, that would help.  Remember, most transport filters are
installed based on header values, so the filter should set the header, and
the core than inserts the correct filter in the right spot based on the


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

View raw message