diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-11-06 16:37:49 -0600 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-11-07 13:01:25 -0500 |
commit | 0cfc3cbf0271ba527d74f3117fd779b3df264c18 (patch) | |
tree | e3c648ecd9f9c8f1df8dac8f2bd1443a1336c176 /res/stasis/app.c | |
parent | 06746b0af503a3abd8ecb4fcb0150194f0d3f25f (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/stasis/app.c')
0 files changed, 0 insertions, 0 deletions