Apache can't handle files over 2GB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I downloaded the apache 2.0.52 src rpm (the FC3 one) and was going to
add  "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" to the spec file.
But I read the changelog and found this :


Changes with Apache 2.0.49

 *) core.c: If large file support is enabled, allow any file that is
     greater than AP_MAX_SENDFILE to be split into multiple buckets.
     This allows Apache to send files that are greater than 2gig.
     Otherwise we run into 32/64 bit type mismatches in the file size.
     [Brad Nicholes]


However when I test it the file doesn't show up in a directory listing
and any attempt to access the file gives me this :

(75)Value too large for defined data type: access to /FC3-i386-DVD.iso
failed

So am I not interpreting the changelog correctly?


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux