Bug 31982

Summary: Content-Length header is negative number
Product: Apache httpd-1.3 Reporter: Andrus Nomm <andrus>
Component: coreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: RESOLVED WONTFIX    
Severity: major CC: brincken.gyorgy
Priority: P3    
Version: 1.3.31   
Target Milestone: ---   
Hardware: Other   
OS: FreeBSD   

Description Andrus Nomm 2004-10-30 14:42:46 UTC
I had 2216578557 bytes size file on wwwroot dir and when i accessed it from web
(autoindexed) it showed size 2114M. But when i clicked to download it downloads
tells "File size unknown". Connected with telnet and result was:

HTTP/1.1 200 OK
Date: Sat, 30 Oct 2004 00:34:20 GMT
Server: Apache/1.3.31 (Unix) PHP/4.3.9
Last-Modified: Tue, 26 Oct 2004 02:05:38 GMT
ETag: "1a9806-841e4dfd-417db0f2"
Accept-Ranges: bytes
Content-Length: -2078388739
Connection: close
Content-Type: text/plain

Machine data:
OS: FreeBSD 5.2.1
CPU: P3 750MHz
RAM: 512MB
HDD: 30G
Comment 1 Jim Jagielski 2004-12-03 01:59:10 UTC
1.3 has known issues with 32 bit ints (signed or not) and has other problems when reaching the 2GB 
limit. A complete fix is not in the cards for 1.3 and is a good reason to consider 2.x
Comment 2 Joe Orton 2004-12-09 10:56:06 UTC
*** Bug 32599 has been marked as a duplicate of this bug. ***