-
- Downloads
SIP - prevent race condition when writing contact header
The contact header field was stored in a member varialbe of Jami/SIP accounts. There was a condition in which the contact header could be concurrently accessed by multiple threads. This typically happens when terminating calls in batch (when calling hangupCalls() for instance). Managment of SIP contact header in Jami and SIP accounts was reworked to prevent such race. Gitlab: #633 Change-Id: Ib9295070a5295969bf114ec29e66e36b1c5c5e03
Showing
- src/call.cpp 5 additions, 7 deletionssrc/call.cpp
- src/jamidht/jamiaccount.cpp 19 additions, 30 deletionssrc/jamidht/jamiaccount.cpp
- src/jamidht/jamiaccount.h 2 additions, 4 deletionssrc/jamidht/jamiaccount.h
- src/jamidht/sync_channel_handler.cpp 1 addition, 1 deletionsrc/jamidht/sync_channel_handler.cpp
- src/sip/sip_utils.cpp 11 additions, 6 deletionssrc/sip/sip_utils.cpp
- src/sip/sip_utils.h 1 addition, 1 deletionsrc/sip/sip_utils.h
- src/sip/sipaccount.cpp 54 additions, 61 deletionssrc/sip/sipaccount.cpp
- src/sip/sipaccount.h 8 additions, 13 deletionssrc/sip/sipaccount.h
- src/sip/sipaccountbase.cpp 3 additions, 2 deletionssrc/sip/sipaccountbase.cpp
- src/sip/sipaccountbase.h 2 additions, 2 deletionssrc/sip/sipaccountbase.h
- src/sip/sipcall.cpp 41 additions, 29 deletionssrc/sip/sipcall.cpp
- src/sip/sipcall.h 3 additions, 3 deletionssrc/sip/sipcall.h
- src/sip/sipvoiplink.cpp 1 addition, 1 deletionsrc/sip/sipvoiplink.cpp
Loading
Please register or sign in to comment