[asterisk-commits] russell: branch russell/chan_refcount r104108 - /team/russell/chan_refcount/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Feb 25 17:49:31 CST 2008


Author: russell
Date: Mon Feb 25 17:49:30 2008
New Revision: 104108

URL: http://svn.digium.com/view/asterisk?view=rev&rev=104108
Log:
Blocked revisions 104107 via svnmerge

................
r104107 | russell | 2008-02-25 17:48:16 -0600 (Mon, 25 Feb 2008) | 18 lines

Merged revisions 104106 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104106 | russell | 2008-02-25 17:42:42 -0600 (Mon, 25 Feb 2008) | 10 lines

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)

........

................

Modified:
    team/russell/chan_refcount/   (props changed)

Propchange: team/russell/chan_refcount/
------------------------------------------------------------------------------
    svnmerge-blocked = /trunk:104107




More information about the asterisk-commits mailing list