From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Description of problem:
wget displays bogus remote file sizes and fails to download remote
files (only HTTP tested, not every server). Example of failure:
[sun@nausicaa ~ :) 7]$ wget
Resolving ftp.ie.freshrpms.net... 18.104.22.168
Connecting to ftp.ie.freshrpms.net[22.214.171.124]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: B,446,744,069,414,602,705 [text/plain]
] 0 --.--K/s
14:37:32 (0.00 B/s) - `GPL' saved [0/0])
The file created is empty.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. use wget to download a http file
Actual Results: Bogus file size (always), download fails (sometimes)
Expected Results: Transfer of file
*** Bug 133350 has been marked as a duplicate of this bug. ***
Confirming this on wget-1.9.1-16
Created attachment 104391 [details]
bug fix patch
fixes length problem, possibly breaks ability to reuse header_extract_number in
other places. function doesn't appear to be called anywhere else.
Created attachment 104392 [details]
no, really, this fixes it, honest
oops, forgot to resize temporary result variable
*** This bug has been marked as a duplicate of 123524 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.