[haiku-bugs] Re: [Haiku] #16744: pkgman download stall

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 22 Jan 2021 18:04:02 -0000

#16744: pkgman download stall
-------------------------------+----------------------------
  Reporter:  kallisti5         |      Owner:  stippi
      Type:  bug               |     Status:  assigned
  Priority:  blocker           |  Milestone:  R1/beta3
 Component:  Kits/Package Kit  |    Version:  R1/Development
Resolution:                    |   Keywords:
Blocked By:                    |   Blocking:
  Platform:  All               |
-------------------------------+----------------------------
Comment (by stippi):

 Sorry, I don't understand what exactly happened from the screenshot. I
 think between the time of this ticket and now, Pulkomandy merged two
 possibly related commits. One makes sure that corrupt downloads are
 deleted (those that fail the checksum check after having finished
 downloading). The other one shouldn't really have an effect. It's more of
 an additional check that is performed. But from the original log output,
 resuming clearly already worked before this commit was merged. The commit
 should only help in those cases where resuming didn't work yet, i.e. the
 SSL layer emits no error, but the download is still incomplete according
 to the Content-Length header.

 That leaves the issue:

It says resuming, but it still redownloads all 4MiB. Is that the desired
 result?

 What do you mean by that? When resuming, it should skip ahead to the
 already downloaded amount in the progress bar, but it would still display
 the full size of the package. I /thought/ this was less confusing. Maybe
 not. Maybe only with a 200 MBit connection when you can't really see
 progress anyway. For a slow connection, the user has a good chance of
 noticing that the progress bar jumped to 3 MB and now the rest is actually
 being transferred. What do you think?
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16744#comment:13>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: