httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: 4GB File size limit
Date Mon, 03 Jan 2005 23:03:06 GMT
mfbscs@mchsi.com wrote:
> Hmmm, I wonder if the problem is the browser? I've tried downloading that file 
> with Opera and IE and on both browsers, it says the file is 75,673,600 bytes, 
> which is wrong.

So does Firefox. However, "Live HTTP Headers" shows:

GET /pub/fedora/linux/core/2/i386/iso/FC2-i386-DVD.iso HTTP/1.1
Host: ftp.heanet.ie
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) 
Gecko/20041107 Firefox/1.0
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Date: Mon, 03 Jan 2005 22:58:29 GMT
Server: Apache/2.0.52 (Unix)
Last-Modified: Thu, 20 May 2004 13:48:37 GMT
Etag: "8b000d59-482b000-6e847740"
Accept-Ranges: bytes
Content-Length: 4370640896
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: application/octet-stream


4370640896 is 0x10482B000 and 75673600 is 0x482B000, so this is almost 
certainly a 32-bit integer overflow. Somebody should open an issue on 
the Mozilla bug tracker....

> My largefile woes might be because of shortcomings in the browser, rather than 
> in apache.

Seems so.

Regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

Mime
View raw message