apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: File buckets and downloadng files larger than 4gig...
Date Wed, 17 Dec 2003 19:51:36 GMT
On Wed, 17 Dec 2003, Brad Nicholes wrote:

>     Thanks.  After doing some more digging I also ran across this chunk
> of code myself.  Casting the filesize to apr_size_t in the #else part of
> the code was a dead give-away.  I guess NetWare hit the odd combination
> here in that we don't have sendfile but we do have large files.  This is
> what was causing the problem.  I have tweeked the #if statement just a
> little so that if large file support is enabled then it still breaks the
> file into smaller chunks.  I am testing it now, but I don't think that
> it is a complete solution.  This should still work even if a platform
> has large files and the enable_sendfile is off.

Beware, this is not the only place in the code that you'll find a block
that looks like that.  Check mod_*_cache for example.  All the handlers
that serve up files.

--Cliff

Mime
View raw message