Summary: File download without content-length header kicks counters into negative numbers
Creator:apostate Date:2003-04-08 11:26:54
Project:K-Meleon Owner:.Nobody
Status:Closed Severity:Minor
Version:Unknow Target Version:Unknow

I was downloading some files from GotDotNet, and noticed all my download times started at 0 left, and went negative. The download dialog says,

Downloaded -55041600% (537.52K of -0.00 KBytes)

Time Left: -6 seconds.

Sample URL:

http://www.gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=AE421F0D-B1DF-4BFA-A88A-7A081A994464

I checked the headers being sent back from the site, and they look like this:

HTTP/1.1 200 OK
Date: Tue, 08 Apr 2003 18:23:04 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
P3P: CP='CAO DSP COR ADMa DEVa CONi TAIi PSAi OUR BUS PUBi PHY ONL UNI COM NAV I
NT STA PRE'
Content-Disposition: inline; filename=Popcorn.zip
Transfer-Encoding: chunked
Set-Cookie: ASP.NET_SessionId=1eqtfrr3pmzqfb453n2heqf5; path=/
Cache-Control: private
Content-Type: application/zip

-- no content-length header.

Comments
Ulf  2003-07-24 06:35:32

[Changed Status from "Unconfirmed" to "Fixed"]
ra  2003-09-04 07:58:23
Still getting this with Version 0.7.5 Build 812 Compiled Wed Sep 3 15:42:34 2003 (Windows XP SP1).

Just go to e.g. http://www.macsat.com/downloads.php and download the "Latest version of DVD2SVCD :"
ra  2003-12-16 09:12:52
FYI: With 0.8.1 it still happens on my example url, but it's not important anyway.
rmn  2003-12-17 04:34:43

[Changed Status from "Fixed" to "Open"]
ra  2003-12-24 20:46:42
Fixed in 0.8.2 as it doesn't show this kind of information (percentage / remaining time) anymore when the server doesn't provide it.

The download window title bar seems to be flashing (refresh? does it still calculate percentage but just doesn't show it?) sometimes, but that's cosmetic.. And as the described bug is gone this bug can be closed (fixed) now.
Kidman  2003-12-25 10:07:14
I can confirm, that the is no more negative progress shown.
amutch  2003-12-26 21:51:44

[Changed Status from "Open" to "Fixed"]
rmn  2006-04-10 23:55:38

[Changed Status from "Fixed" to "Closed"]

SourceForge Logo