bugGNU Wget - Bugs: bug #34910, content length(double size) error...

 
 

bug #34910: content length(double size) error by the option '--timestamping --content-disposition'

Submitter:  None
Submitted:  Sun 27 Nov 2011 09:39:05 AM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Chaodong Zhang Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.13.4
Operating System:  GNU/Linux Reproducibility:  Every Time
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  No
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 06 Apr 2012 07:24:34 PM UTC, comment #1: 


It could be HTTP server problem.

[Sasi@Shash src]$ ./wget -N --content-disposition http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2_i386.tar.gz
--2012-04-07 00:46:09--  http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2_i386.tar.gz
Resolving dl_dir.qq.com (dl_dir.qq.com)... 61.164.119.2, 117.34.6.183, 117.34.6.184, ...
Connecting to dl_dir.qq.com (dl_dir.qq.com)|61.164.119.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5015798 (4.8M) [application/x-gzip]
Last-modified header missing -- time-stamps turned off.
--2012-04-07 00:46:11--  http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2_i386.tar.gz
Reusing existing connection to dl_dir.qq.com:80.
HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
Length: unspecified
Saving to: ‘linuxqq_v1.0.2_i386.tar.gz’

    [                      <=>                                                                                           ] 412,680     38.4KB/s             ^C
[Sasi@Shash src]$ ./wget -N --content-disposition http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2_i386.tar.gz
--2012-04-07 00:46:22--  http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2_i386.tar.gz
Resolving dl_dir.qq.com (dl_dir.qq.com)... 117.34.6.184, 122.226.76.61, 122.227.25.142, ...
Connecting to dl_dir.qq.com (dl_dir.qq.com)|117.34.6.184|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5015798 (4.8M) [application/x-gzip]
Last-modified header missing -- time-stamps turned off.
--2012-04-07 00:46:28--  http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2_i386.tar.gz
Connecting to dl_dir.qq.com (dl_dir.qq.com)|117.34.6.184|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5015798 (4.8M) [application/x-gzip]
Saving to: ‘linuxqq_v1.0.2_i386.tar.gz’

100%[===================================================================================================================>] 5,015,798   22.3KB/s   in 4m 16s

2012-04-07 00:50:46 (19.1 KB/s) - ‘linuxqq_v1.0.2_i386.tar.gz’ saved [5015798/5015798]

Sasi <sasikanth19>
Sun 27 Nov 2011 09:39:05 AM UTC, original submission:  

$ wget -N --content-disposition http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2_i386.tar.gz
Setting --timestamping (timestamping) to 1
Setting --content-disposition (contentdisposition) to 1
DEBUG output created by Wget 1.13.4 on linux-gnu.

URI encoding = `UTF-8'
--2011-11-27 17:10:29--  http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2_i386.tar.gz
Resolving dl_dir.qq.com (dl_dir.qq.com)... 113.105.73.185, 113.105.73.186, 124.232.147.226, ...
Caching dl_dir.qq.com => 113.105.73.185 113.105.73.186 124.232.147.226 121.10.24.229 218.75.172.231 116.253.189.34 113.105.137.56 113.105.137.57 113.105.137.58 113.105.137.59 121.14.131.66 122.227.184.66 119.97.129.98 122.227.184.98 59.53.86.131 113.105.73.184
Connecting to dl_dir.qq.com (dl_dir.qq.com)|113.105.73.185|:80... connected.
Created socket 3.
Releasing 0x08bc1998 (new refcount 1).

---request begin---
HEAD /linuxqq/linuxqq_v1.0.2_i386.tar.gz HTTP/1.1
User-Agent: Wget/1.13.4 (linux-gnu)
Accept: /
Host: dl_dir.qq.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Date: Sun, 27 Nov 2011 09:10:32 GMT
Server: nws 1.2.15
Content-Length: 5015798
Content-Type: application/x-gzip
Connection: Keep-Alive
Cache-Control: max-age=600
Expires: Sun, 27 Nov 2011 09:20:32 GMT

---response end---
200 OK
Registered socket 3 for persistent reuse.
Length: 5015798 (4.8M) [application/x-gzip]
Last-modified header missing -- time-stamps turned off.
--2011-11-27 17:10:33--  http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2_i386.tar.gz
Reusing existing connection to dl_dir.qq.com:80.
Reusing fd 3.

---request begin---
GET /linuxqq/linuxqq_v1.0.2_i386.tar.gz HTTP/1.1
User-Agent: Wget/1.13.4 (linux-gnu)
Accept: /
Host: dl_dir.qq.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
---response end---
200 No headers, assuming HTTP/0.9
Length: unspecified
Saving to: `linuxqq_v1.0.2_i386.tar.gz'

     0K .......... .......... .......... .......... .......... 29.7K
    50K .......... .......... .......... .......... .......... 51.6K
...
...
  4850K .......... .......... .......... .......... .......... 51.0K
  4900K .......... .......... .......... .......... .......... 89.7K
...
...
  9750K .......... .......... .......... .......... ......     71.1K=3m22s

2011-11-27 17:14:17 (48.5 KB/s) - `linuxqq_v1.0.2_i386.tar.gz' saved [10031823]

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sasikanth19 (Posted a comment)
  •  

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code