> >I have just commited something, which should stop the C-L filter from
> >buffering unnecessarily.  Could EVERYBODY please check my logic here.  The
> >commit message and the code have a block of text that says what I think
> >should happen.
>
> It's better (kinda) though now it sends a possibly incorrect content length
> (and doesn't chunk) if there are no tags in the first 9k of the shtml. I
> don't see how any response that goes through the include filter can have a
> content length header unless the entire response is in a single brigade.
> mod_include needs to kill the C-L as soon as it sends a partial response
> down the stack.

Actually, I think the C-L filter should just remove the C-L if it doesn't
believe it can be set.  No filter will be able to determine for sure if it
can set the content length, because some later filter can buffer the
content or change the length.  Only the C-L filter can have enough
knowledge to set that header correctly.

Ryan

_______________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------

Reply via email to