[haiku-bugs] Re: [Haiku] #16314: HaikuDepot freezes if initially launched with no network

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 25 Sep 2021 08:51:49 -0000

#16314: HaikuDepot freezes if initially launched with no network
--------------------------------------+-------------------------
  Reporter:  nyanpasu64               |      Owner:  apl-haiku
      Type:  bug                      |     Status:  new
  Priority:  normal                   |  Milestone:  Unscheduled
 Component:  Applications/HaikuDepot  |    Version:  R1/beta2
Resolution:                           |   Keywords:
Blocked By:                           |   Blocking:
  Platform:  All                      |
--------------------------------------+-------------------------
Comment (by apl-haiku):

 I had a look into this one and it seems to be related to DNS lookup.  If a
 network interface is up but cannot route then the DNS lookup will block
 the URL fetches that occur as the application starts up.  Cancelling the
 URL fetch at this point does not seem to work as there is no mechanic to
 cancel the DNS lookup in the {{{BNetworkRequest::_ResolveHostName}}}
 logic.  As there is proposed to be an imminent re-work of the URL request
 system (niels on mailing list).
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16314#comment:6>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: