Bug 212622

Summary: auto-resume stalled downloads (delayed)
Product: [Applications] kget Reporter: Elmar Stellnberger (AT/K) <estellnb>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED FIXED    
Severity: normal CC: freeman3, mat69, nekkar
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kgetrc

Description Elmar Stellnberger (AT/K) 2009-11-01 15:15:58 UTC
Version:           2.3.72 (using 4.3.72 (KDE 4.3.72 (KDE 4.4 >= 20091015)) "release 2", KDE:KDE4:UNSTABLE:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.25.20-0.5-default

 We need an auto-resume functionality for stalled downloads. I am trying to download an openSUSE-DVD since hours now but the download gets stalled every few minutes. Once it is stalled downloading does not proceed. Unattended downloading (f.i. overnight) is impossible without auto-resumption! The fist auto-resumption attempt should be made immediately after a download gets stalled; successive attempts could follow by an amount  od 2^n msecs (i.e. 2,4,8,16,...) stopping at f.i. one resume attempt per 2 minutes.
Comment 1 Lukas Appelhans 2009-11-01 15:31:12 UTC
Stalled/Delayed downloads should already try to reconnect every like 1 minute (configurable in your settings...)... can you post your kgetrc?

Lukas
Comment 2 Elmar Stellnberger (AT/K) 2009-11-02 10:24:15 UTC
Created attachment 38022 [details]
kgetrc
Comment 3 Matthias Fuchs 2009-11-30 18:02:28 UTC
Can you please retry this with current trunk?
Comment 4 Dario Massarin 2009-12-28 23:25:14 UTC
Elmar, have you tried if kget from one of the KDE 4.4 betas is working fine with this?
Comment 5 Lukas Appelhans 2010-01-02 01:23:12 UTC
*** Bug 220516 has been marked as a duplicate of this bug. ***
Comment 6 Dario Massarin 2010-01-03 02:29:01 UTC
SVN commit 1069234 by dario:

New Scheduler functionalities, that makes it able to understand whether a download has become
stalled, acting consequently

BUGS: 212622



 M  +86 -82    conf/dlgnetwork.ui  
 M  +0 -6      core/job.cpp  
 M  +10 -13    core/job.h  
 M  +121 -50   core/scheduler.cpp  
 M  +35 -7     core/scheduler.h  
 M  +0 -19     core/transfer.cpp  
 M  +2 -5      core/transfer.h  
 M  +5 -0      core/transfergroupscheduler.cpp  
 M  +1 -0      core/transfergroupscheduler.h  
 M  +1 -1      core/transfertreemodel.cpp  
 M  +1 -1      transfer-plugins/metalink/metalink.cpp  
 M  +0 -2      ui/history/transferhistory.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1069234