httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TOKI...@aol.com
Subject Re: [PATCH] filtering and canned error responses
Date Sat, 02 Sep 2000 13:33:15 GMT

In a message dated 00-09-02 11:30:50 EDT, Ryan writes...

> What is the problem we are trying to solve with
> this?  To me, it seems very straightforward that the error docs are put
> into a bucket brigade with an EOS, because know that the doc is done, and
> we send it down the filter stack.  This doesn't try to avoid the filter
> logic we already have and it should work.  Where is the issue?

An infinite loop.

If the error being returned is 'Internal Server Error' because of
some nasty in one of the filters themselves then how does it
know not to touch the error document sailing through the
chain that will cause yet another error if the same filter kicks
in again?

In the case of generating error pages, I think you are always
going to need some kind of 'All filters back off this one'
flag in the request rec or something so it doesn't get
re-filtered ( and possibly re-looped ) as it goes out the door.

Yours
Kevin Kiley
CTO, Remote Communications, Inc.
http://www.RemoteCommunications.com
http://www.rctp.com - Online Internet Content Compression Server

 

Mime
View raw message