httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <bp...@pacbell.net>
Subject RE: cvs commit: httpd-2.0/modules/filters mod_include.c
Date Wed, 19 Jun 2002 16:04:00 GMT
On Wed, 2002-06-19 at 08:52, Cliff Woolley wrote:
> On Wed, 19 Jun 2002, Brian Pane wrote:
> 
> > The only case where we'd need to set aside the partial directive
> > is if there are multiple brigades created for the same request.
> > Is there any handler that does that?
> 
> That depends on what you mean by this.  Do you mean "multiple brigades
> that end in EOS"?  If so, the answer is no.  If you just mean any
> arbitrary brigades, then sure... any filter could be in front of INCLUDES
> and pass INCLUDES as many brigades as it wants.

I was thinking about the former case.  So all we really need to do
in that bit of code is:

   if ((*bb) ends with EOS) {
       replace everything up to the EOS with "[an error occurred...";
       ap_pass_brigade(*bb);
   }
   else {
       set aside the brigade as ctx->ssi_tag_brigade;
   }

--Brian



Mime
View raw message