Ticket #33 (accepted Problem)

Opened 3 years ago

Last modified 14 months ago

Broccoli: race condition during concurrent connection intialization

Reported by: matthias Owned by: kreibich
Priority: Normal Milestone:
Component: Broccoli Version: 1.4
Keywords: Cc:

Description

The initialization of concurrent Broccoli connections when using SSL is currently not thread-safe.

Change History

comment:1 Changed 3 years ago by kreibich

  • Status changed from new to assigned

comment:2 Changed 3 years ago by kreibich

  • Status changed from assigned to accepted

comment:3 Changed 3 years ago by kreibich

My branches/christian/oktoberfest branch should fix those issues as of revision 6495 by adding an explicit Broccoli initialization point and a means to install callbacks into OpenSSL that are required for thread-safe operation. Have a look at Section 3.3.1 in the manual and the comments in broccoli.h.

Testing is definitely required at this point!

comment:4 Changed 14 months ago by seth

Was this ever tested enough to safely merge?

comment:5 Changed 14 months ago by matthias

I haven't had any trouble since that fix. AFAIK this change has already been merged into trunk. Is that right, Christian?

Note: See TracTickets for help on using tickets.