* Akins, Brian wrote:

> On 1/25/08 3:33 PM, "André Malo" <[EMAIL PROTECTED]> wrote:
>  If it should not
>
> > be chunked, the backend simply has to provide a content-length along
> > with the x-sendfile header.
>
> Okay, I add " ap_set_content_length(r, sub->finfo.size)" and that fixes
> it and does not chunk.

I don't recommend doing that as it contains a race condition (the file might 
be changed in the meantime). By backend I meant here the script providing 
the x-sendfile header. That's the only place knowing the behaviour of the 
file exactly.
If you want it there nevertheless I'd make it configurable.

nd
-- 
print "Just Another Perl Hacker";

# André Malo, <http://www.perlig.de/> #

Reply via email to