[asterisk-dev] [Code Review] chan_sip REFER deadlock fixes
David Vossel
reviewboard at asterisk.org
Tue Aug 2 12:21:42 CDT 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1339/
-----------------------------------------------------------
Review request for Asterisk Developers.
Summary
-------
handle_request_refer() is a complete mess when it comes to locking. A deadlock occurs, we fix it, and then it moves somewhere else. This patch attempts to resolve all the possible locking inversion issues that can occur in this function.
This addresses bug ASTERISK-18082.
https://issues.asterisk.org/jira/browse/ASTERISK-18082
Diffs
-----
/branches/1.8/channels/chan_sip.c 330578
Diff: https://reviewboard.asterisk.org/r/1339/diff
Testing
-------
I tested refer using a snom phone with blind transfer, but that is not very impressive.
James Van Vleet has tested this code using a load testing tool that was capable of exposing all sorts of problems. He has reported that his test is running without issue using this iteration of the patch. Given what it was capable of exposing earlier, I am confident in these test results.
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110802/95266a01/attachment.htm>
More information about the asterisk-dev
mailing list