Bug 31982 - Content-Length header is negative number
Summary: Content-Length header is negative number
Status: RESOLVED WONTFIX
Alias: None
Product: Apache httpd-1.3
Classification: Unclassified
Component: core (show other bugs)
Version: 1.3.31
Hardware: Other FreeBSD
: P3 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
: 32599 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-30 14:42 UTC by Andrus Nomm
Modified: 2004-12-09 01:56 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***