[haiku-bugs] Re: [Haiku] #17139: [Package Kit] Failed to download package haiku

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 17 Oct 2021 15:38:39 -0000

#17139: [Package Kit] Failed to download package haiku
-------------------------------+-------------------------
  Reporter:  Scratch           |      Owner:  nobody
      Type:  bug               |     Status:  new
  Priority:  normal            |  Milestone:  Unscheduled
 Component:  Kits/Package Kit  |    Version:  R1/beta3
Resolution:                    |   Keywords:
Blocked By:                    |   Blocking:
  Platform:  All               |
-------------------------------+-------------------------
Comment (by nephele):

 There are severall issues at play that make downloading files again a bit
 troublesome:

 * Server sometimes returns connection refused spuriously (Is this still an
 issue?)

 * Package kit deletes file download progress on connection refused
 * Package kit tries to treat files in state/ as partially downloaded
 * Package kit does not understand Range erorr to mean "already fully
 downloaded"

 I think in your case you only got the first two issues here, and most
 likely the server now does no longer refuse the connection, regardless
 these are some things to patch to make resumed download more resilient in
 the future.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17139#comment:13>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: