aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-25 23:42:42 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-25 23:42:42 +0000
commitfa4ea5a694964a8edbebc6abe3d8faea7766d49c (patch)
tree1694d8472d863b673a47f656fc4aa806a8c2da88 /channels
parent23ffeac6abcb7af9e63f75873950bec8c7c6027d (diff)
This patch fixes some pretty significant problems with how app_chanspy handles
pointers to channels that are being spied upon. It was very likely that a crash would occur if the channel being spied upon hung up. This was because the current ast_channel handling _requires_ that the object is locked or else it could disappear at any time (except in the owning channel thread). So, this patch uses some channel datastore magic on the spied upon channel to be able to detect if and when the channel goes away. (closes issue #11877) (patch written by me, but thanks to kpfleming for the idea, and to file for review) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@104106 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
0 files changed, 0 insertions, 0 deletions