On Wed, Mar 11, 2009 at 17:56, Ted Unangst <ted.unan...@gmail.com> wrote: > On Wed, Mar 11, 2009 at 11:37 AM, Alexey Suslikov > <alexey.susli...@gmail.com> wrote: >> The limitation is 2Gb on 32-bit platforms because of off_t (man lseek). > > off_t is always 64-bit. > >> Stock ftpd also has mentioned limitation (try to REST a file beyond 2Gb >> offset). >> >> Using any 64-bit platform will solve the problem due to bigger off_t, but >> if it's not a case, one can use Apache 2.2.x from ports. > > If using a 64-bit machine fixes it, then the type in question is not off_t. >
Maybe you should try to transfer (using stock httpd) at least 3Gb file on i386? Also, I have the following in my archives: ---------- Forwarded message ---------- From: Marc Balmer <m...@msys.ch> Date: Fri, Jun 20, 2008 at 11:09 Subject: Re: Apache doesn't handle files >2Gb properly To: Alexey Suslikov <alexey.susli...@gmail.com> Cc: Marc Balmer <mbal...@openbsd.org>, Jason McIntyre <j...@openbsd.org> * Alexey Suslikov wrote: > Hello Marc, Jason. > > Can you comment on this issue? > > http://marc.info/?t=121379382200010&r=1&w=2 > > Maybe it is a good idea to warn note about long files > on 32-bit platform to httpd man page or/and FAQ? no. fix the problem, diffs are welcome ;) maybe, if I find time, I look into this myself. - Marc