asterisk/res/stasis
Kevin Harwell cce2b0da95 stasis/app: don't lock an app before a call to send
Calling 'app_send' eventually calls the app's message handler. It's possible
for a handler to obtain a lock on another object, and then need/want to lock
the app object. If the caller of 'app_send' locks the app object prior to
calling then there's a potential for a deadlock, if another thread calls
'app_send' without locking.

This patch makes it so 'app_send' is not called with the app object locked in
the section of code doing such.

ASTERISK-28423 #close

Change-Id: I6767c6d0933c7db1b984018966eefca4c0638a27
2020-01-27 12:11:29 -06:00
..
app.c stasis/app: don't lock an app before a call to send 2020-01-27 12:11:29 -06:00
app.h ari: Implement 'debug all' and request/response logging 2017-01-23 10:25:58 -07:00
command.c various files - fix some alerts raised by lgtm code analysis 2019-11-18 08:30:45 -06:00
command.h ARI: Fix a crash caused by hanging during playback to a channel in a bridge 2014-08-22 16:52:51 +00:00
control.c ARI: Ability to inhibit COLP frames when adding channels to a bridge 2020-01-02 15:06:15 +00:00
control.h res_stasis: Add ability to switch applications. 2019-03-07 07:53:01 -06:00
messaging.c VECTOR: Passing parameters with side effects to macros is dangerous. 2018-06-21 16:10:52 -06:00
messaging.h Clean up files that do not end with newlines 2014-08-21 14:52:28 +00:00
stasis_bridge.c res_stasis: Reduce RAII_VAR usage. 2018-01-08 18:51:45 -05:00
stasis_bridge.h ARI: Make mixing bridges propagate linkedids and accountcodes. 2014-07-09 16:34:51 +00:00