bugGNU Wget - Bugs: bug #40426, wget hangs with -r and -O -

 
 

bug #40426: wget hangs with -r and -O -

Submitted by:  None
Submitted on:  Wed 30 Oct 2013 11:51:48 AM UTC  
 
Category: Crash/Freeze/InfloopSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: AntonioOriginator Email: -unavailable-
Open/Closed: OpenRelease: 1.13.4
Operating System: NoneReproducibility: Every Time
Fixed Release: NonePlanned Release: None
Regression: NoneWork Required: None
Patch Included: No

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 30 Oct 2013 11:51:48 AM UTC, original submission:

# wget -r -O - http://www.blankwebsite.com

hangs forever, I can verify it with a strace. If I do this:

while read R
do
wget -r -O - http://www.blankwebsite.com
done < smallfile
with smallfile containing a single line, the command exits in a few seconds.

I tried also with

wget -r -O - localhost/test.html
with an empty test.html file, same results.

Everything runs fine changing -O - with -O myfile or removing -r.

Asked on stackoverflow:
http://stackoverflow.com/questions/19681316/wget-hangs-with-r-and-o

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #29593:  wget-gitpatch-recursivecheck.diff added by None (948B - application/octet-stream - Patch attached that will check the "-r -O FILE" combination and only allow it if FILE is a regular file.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Mon 11 Nov 2013 04:23:53 PM UTCNoneAttached File-=>Added wget-gitpatch-recursivecheck.diff, #29593

Back to the top


Powered by Savane 3.1-cleanup