bugGNU Wget - Bugs: bug #28539, Timeout limits ignored with server...

 
 

bug #28539: Timeout limits ignored with server that fails to accept()

Submitter:  Micah Cowan <micahcowan>
Submitted:  Sun 10 Jan 2010 01:32:00 AM UTC
   
 
Category:  Program Logic Severity:  2 - Minor
Priority:  5 - Normal Status:  Needs Investigation
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  1.12 Operating System:  None
Reproducibility:  None Fixed Release:  None
Planned Release:  1.15 Regression:  No
Work Required:  1 - Days Patch Included:  No
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 10 Jan 2010 01:32:00 AM UTC, original submission:  

Reported at http://lists.gnu.org/archive/html/bug-wget/2009-12/msg00004.html:


I've always had this problem, where the web server is busy and does
not accept() the incoming connection from wget.  In this case using
the -T switch to set all the timeouts makes no difference, since wget
simply hangs and doesn't timeout as you'd expect it to.  Presumably
this is because the DNS is okay and the read() never starts, but the
connect timeout relies on a library which doesn't implement the
timeout?

Obviously this is an issue with scripts that want to avoid taking
forever and give wget explicit timeouts, but lock-up regardless.
Tested on version 1.12 on Xubuntu.

Thanks.

--
Lee Haywood.


Micah Cowan <micahcowan>

 

(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 micahcowan (Submitted the item)
  • -email is unavailable- added by micahcowan (Original reporter)
  •  

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-01-10 micahcowan Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code