]> git.ipfire.org Git - thirdparty/asterisk.git/commit
don't iterate through all dialogs to find and delete old subscribes
authorStefan Schmidt <sst@sil.at>
Fri, 1 Oct 2010 09:42:22 +0000 (09:42 +0000)
committerStefan Schmidt <sst@sil.at>
Fri, 1 Oct 2010 09:42:22 +0000 (09:42 +0000)
commit43f52c180585530a5539ab31cefb9935ad7aec52
tree8950f4600dc8237eeb5205e080dc108208b251b1
parent1d7822bfaf896d6c1a3c73a54b3fa5e3b9bc0e8c
don't iterate through all dialogs to find and delete old subscribes

On every incoming subscribe there is a iteration through all dialogs to find old subscribes and delete them. This is slow and not RFC conform. This was only needed in 1.2 cause a subscribe was not deleted when a dialog was destroyed, after 1.4 a subscribe get removed when its dialog is destroyed.

(closes issue #17950)
Reported by: schmidts
Tested by: schmidts

Review: https://reviewboard.asterisk.org/r/901/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@289622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c