You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Geoffrey Young <ge...@modperlcookbook.org> on 2003/04/01 18:28:25 UTC

Re: rfc: new API to traverse filter chains

> typedef int (ap_filter_chain_traverse_fh_t)(void *data, ap_filter_t *f);
> int ap_filter_chain_traverse(ap_filter_chain_traverse_fh_t *traverse,
>                              void *data, ap_filter_t **chain);

if this patch gets accepted, it may provide not only the way to remove a 
filter but also a way to hook into the filter_init stuff I've been bugging 
you about :)

just a reminder so that filter_init doesn't get forgotten - it's a very 
important (and missing) part of the mod_perl API as far as I'm concerned.

--Geoff


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: rfc: new API to traverse filter chains

Posted by Stas Bekman <st...@stason.org>.
Geoffrey Young wrote:
> 
>> typedef int (ap_filter_chain_traverse_fh_t)(void *data, ap_filter_t *f);
>> int ap_filter_chain_traverse(ap_filter_chain_traverse_fh_t *traverse,
>>                              void *data, ap_filter_t **chain);
> 
> 
> if this patch gets accepted, it may provide not only the way to remove a 
> filter but also a way to hook into the filter_init stuff I've been 
> bugging you about :)
> 
> just a reminder so that filter_init doesn't get forgotten - it's a very 
> important (and missing) part of the mod_perl API as far as I'm concerned.

I haven't forgotten, I'm planning to work on implementing this feature and a 
new directive PerlSet(Input|Output)Filter and api, so one can mix non-mod_perl 
filters with mod_perl filters and keep them in the right insertion order 
(currently all mod_perl filters are always set to run one after another).



__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org