httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apache-2.0/src/main util_filter.c
Date Thu, 17 Aug 2000 06:50:38 GMT
On Thu, Aug 17, 2000 at 12:22:31AM -0400, Jim Jagielski wrote:
> Greg Stein wrote:
> > 
> > Ryan: this was vetoed pending discussion. (it was in my first email)
> > 
> > As I've said, this simply reverses the problem. Now the situation is that
> > the LIFO makes it easy to insert *some* types of filters and harder for
> > others. That is exactly where we were before.
> > 
> > You wanted an example: a PHP filter decides that it will generate SSI text
> > and wants to add an SSI filter. With the original add_filter, this will come
> > afterwards.
> > 
> 
> Hold on a sec... is that right? Wouldn't that cause a push and pop
> in the right order? That is, it's inserted correctly?

In the current design, filters are added at the end of their grouping. There
is no concept of push/pop.

Something adds PHP. Then PHP adds SSI. The latter will end up after the PHP
filter.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message