httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject Re: Stripping Content-Length headers
Date Mon, 06 May 2002 00:09:47 GMT
On Sun, 5 May 2002, Justin Erenkrantz wrote:

> On Sun, May 05, 2002 at 06:26:53PM -0400, rbb@apache.org wrote:
> > The filter should remain regardless of whether there is a C-L, because we
> > use that filter to determine exactly how much data was sent through the
> > filter stack.  That is useful information, and it doesn't hurt performance
> > in any meaningful way (We are just looping through the brigade).  However,
> > the filter should be smart enought to leave the C-L alone, unless it is
> > required.
> 
> Okay, I guess.  I do think it'd cause a performance hit though.
> But, I won't push it.  I don't see the need for it though.
> 
> However, I'm more concerned that we'll be buffering data on
> HTTP/1.0 requests that already have a C-L.  This would be
> enormously expensive when we could have streamed the data
> to the network rather than holding on to it until EOS is
> seen.  -- justin

Take a closer look at the filter.  We almost never actually buffer data in
the C-L filter.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
550 Jean St
Oakland CA 94610
-------------------------------------------------------------------------------


Mime
View raw message