Re: rfc: new filtering APIs

2003-01-17 Thread Geoffrey Young
Stas Bekman wrote: Geoffrey Young wrote: Finally, other than add/remove filters APIs which we have talked about, what other APIs do you want for filters? is there an interface to filter_init? see the discussion on http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9673 or CHANGES

Re: rfc: new filtering APIs

2003-01-17 Thread Stas Bekman
Geoffrey Young wrote: [...] no, you need the real filter_init hook. the issue here is that default_handler has meets_condiditions() logic in it, so it makes decisions about whether or not to send content down the chain. this is generally bad for filters, since they may have their own criteria

Re: rfc: new filtering APIs

2003-01-17 Thread Geoffrey Young
I would want at least a real-time interface for this, something similar to $filter-init(sub {shift-update_mtime($package_mtime)} ); where would you run this code? outsite of a handler() subroutine, pretty much like I showed it - on module load. I suspect you'd have to register the init

Re: rfc: new filtering APIs

2003-01-17 Thread Stas Bekman
Geoffrey Young wrote: I would want at least a real-time interface for this, something similar to $filter-init(sub {shift-update_mtime($package_mtime)} ); where would you run this code? outsite of a handler() subroutine, pretty much like I showed it - on module load. I suspect you'd

Re: rfc: new filtering APIs

2003-01-17 Thread Geoffrey Young
Stas Bekman wrote: Geoffrey Young wrote: I would want at least a real-time interface for this, something similar to $filter-init(sub {shift-update_mtime($package_mtime)} ); where would you run this code? outsite of a handler() subroutine, pretty much like I showed it - on module

Re: rfc: new filtering APIs

2003-01-16 Thread Geoffrey Young
Finally, other than add/remove filters APIs which we have talked about, what other APIs do you want for filters? is there an interface to filter_init? see the discussion on http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9673 or CHANGES file for a description of why it was added. this

Re: rfc: new filtering APIs

2003-01-16 Thread Stas Bekman
Geoffrey Young wrote: Finally, other than add/remove filters APIs which we have talked about, what other APIs do you want for filters? is there an interface to filter_init? see the discussion on http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9673 or CHANGES file for a description of