Eliminate stale manager events after a set interval, even if AMI clients don't query...
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 1 Jun 2010 16:41:00 +0000 (16:41 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 1 Jun 2010 16:41:00 +0000 (16:41 +0000)
commit7718567b2455447bfc7bbaedca44fa1674a633ff
treee932b47b3a76fae914b5faeb4d29a8f186b19c43
parentdd26c53707540ce0f7ae723874f0b127641092e0
Eliminate stale manager events after a set interval, even if AMI clients don't query for them.

Actions (or failures to act) by external clients should not cause memory leaks
in Asterisk, especially when those continued leaks could cause Asterisk to
misbehave later.

(closes issue #17234)
 Reported by: mav3rick
 Patches:
       20100510__issue17234.diff.txt uploaded by tilghman (license 14)
       20100517__issue17234__trunk.diff.txt uploaded by tilghman (license 14)
 Tested by: mav3rick, davidw

(closes issue #17365)
 Reported by: davidw

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@266682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/manager.c