bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] HTTP Range length is broken


From: Oleg Marchuk
Subject: [Bug-wget] HTTP Range length is broken
Date: Sat, 23 May 2009 13:07:44 +0300

Hi, All

The problem is that actual length of file is differ with range request. The file size is 10092945408 when wget shows 10092945409. Also file can not download properly.

Ubuntu, 9.04, x86, GNU Wget 1.11.4

I have next for wget output in console:

address@hidden:~/Downloads$ wget -c http://caffeine.boyarka.name/getf.php?/games4/WoW_BC_2.3.2/WoW_BC_2.3.2.iso -O WoW_BC_2.3.2.iso
--2009-05-23 12:47:51-- http://caffeine.boyarka.name/getf.php?/games4/WoW_BC_2.3.2/WoW_BC_2.3.2.iso
Resolving caffeine.boyarka.name... 91.207.105.2
Connecting to caffeine.boyarka.name|91.207.105.2|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 10092945409 (9.4G), 9411522333 (8.8G) remaining [application/octet-stream]
Saving to: `WoW_BC_2.3.2.iso'

6% [++ ] 681,556,123 43.7K/s

And sniffer shows:

GET /getf.php?/games4/WoW_BC_2.3.2/WoW_BC_2.3.2.iso HTTP/1.0
Range: bytes=681423076-
User-Agent: Wget/1.11.4
Accept: */*
Host: caffeine.boyarka.name
Connection: Keep-Alive

HTTP/1.1 206 Partial Content
Date: Sat, 23 May 2009 09:47:54 GMT
Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.6
X-Powered-By: PHP/5.2.6
Content-Range: 681423076-10092945408/10092945408
Content-Transfer-Encoding: binary
Content-Length: 9411522332
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=20
Connection: Keep-Alive
Content-Type: application/octet-stream


--
King Oleg
----
  http://kingoleg.livejournal.com/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]