httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: PR 7966
Date Fri, 12 Apr 2002 02:10:41 GMT
> From: Justin Erenkrantz [mailto:jerenkrantz@apache.org]
> 
> On Thu, Apr 11, 2002 at 07:02:48PM -0700, Ryan Bloom wrote:
> > Dollars to Donuts, the problem is that the C-L filter isn't removing
the
> > C-L header from the request.  I won't have time to look at this for
a
> > few weeks though.
> 
> The request?  Don't you mean the file?
> 
> Taking a quick look at default_handler:
> 
> server/core.c line 3208:
> ap_set_content_length(r, r->finfo.size);
> 
> Isn't that call bogus?  Why just not let the C-L filter handle it?

No, it isn't bogus.  If the file isn't changed, then the call is
correct.  It is only bogus if the content is changed, as it is with SSI
requests.  If the C-L filter can't verify the C-L, it should be removing
it from the request.  If it doesn't, that is the bug.

Ryan



Mime
View raw message