[haiku-bugs] Re: [Haiku] #18106: Pkgman: partial packages are not picked up on connection drops.

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 07 Dec 2022 14:28:56 -0000

#18106: Pkgman: partial packages are not picked up on connection drops.
-------------------------------+-------------------------
  Reporter:  khallebal         |      Owner:  nobody
      Type:  bug               |     Status:  new
  Priority:  normal            |  Milestone:  Unscheduled
 Component:  Kits/Package Kit  |    Version:  R1/beta4
Resolution:                    |   Keywords:
Blocked By:                    |   Blocking:
  Platform:  All               |
-------------------------------+-------------------------
Comment (by kallisti5):

 Yeah, you're right.  The -L to curl fixes it as it instructs the client to
 resend the full request to the redirected URL.

 Now the big question is how to do that within our Package kit.   It feels
 like a good change since paired with the range it will ensure complete
 requests are forwarded to redirected URLs.  This would apply to http ->
 https redirections as well.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18106#comment:6>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: