Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: jls on August 05, 2014, 03:32:46 AM

Title: importsce doesn't stop if internet goes off
Post by: jls on August 05, 2014, 03:32:46 AM
 :-\
Title: Re: importsce doesn't stop if internet goes off
Post by: Jason W on August 05, 2014, 07:29:52 PM
Upon testing by unplugging my network cable, I see the download of packages by wget hangs until the network is reestablished by the cord being plugged back in.  The only place where it seems to not resume is in the zsync download of the Packages file.  I could impose a timeout with the "-T" option in wget, but that would punish folks who are using a large list file and the server or internet may be busy but it currently will resume when the network is available.  A timeout would mean those folks would have importsce exit and have to retry because of a 25 second delay in the network if I imposed a 20 second timeout rule when otherwise the import session would be successful. 

So I think it is best left as is.  If zsync hangs in the initial download of the Pakcages file, a simple Ctrl^C and checking the network and then re-importing would be the best fix.