diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-11-06 16:37:49 -0600 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-11-07 11:40:39 -0600 |
commit | 84983c122209b1c978c118c41f5add36cb1907e0 (patch) | |
tree | 1a09c80fc9dceaa3b63d3f96f9888dfdde3ba2e4 /res/res_pjsip_pidf_eyebeam_body_supplement.c | |
parent | 9c7c441a0fa70b4a5cbec4588f8a658c717849e5 (diff) |
res_pjsip_registrar.c: Fix AOR and pjproject group deadlock.
One of the patches for ASTERISK_27147 introduced a deadlock regression.
When the connection oriented transport shut down, the code attempted to
remove the associated contact. However, that same transport had just
requested a registration that we hadn't responded to yet. Depending
upon timing we could deadlock.
* Made send the REGISTER response after we completed processing the
request contacts and released the AOR lock to avoid the deadlock.
ASTERISK-27391
Change-Id: I89a90f87cb7a02facbafb44c75d8845f93417364
Diffstat (limited to 'res/res_pjsip_pidf_eyebeam_body_supplement.c')
0 files changed, 0 insertions, 0 deletions