[haiku-bugs] Re: [Haiku] #10931: Services Kit: No locking around access to HTTP context information such as authentication

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 10 Jun 2014 11:41:30 -0000

#10931: Services Kit: No locking around access to HTTP context information such 
as
authentication
--------------------------------+----------------------------
   Reporter:  stippi            |      Owner:  axeld
       Type:  bug               |     Status:  new
   Priority:  high              |  Milestone:  R1
  Component:  Kits/Network Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Comment (by pulkomandy):

 At least one more issue: the BUrlContext itself may be deleted while
 UrlRequests are still referencing it (unless the default context is used,
 this one is global static). Making it reference counted, and having the
 requests acquire a reference, would help with that.

 Is it ok to use BReferenceable in public APIs? This sounds like a good way
 to handle BUrlContext and BHttpAuthentication lifetime.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10931#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: