]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Don't have the Via header stored as a stringfield as it can change often during the...
authorJoshua Colp <jcolp@digium.com>
Mon, 16 Feb 2009 15:33:53 +0000 (15:33 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 16 Feb 2009 15:33:53 +0000 (15:33 +0000)
commit22734e39dc98b673aeef2c352ef301b0eea1af97
tree35e5305590001ba1b3963b48ff1fe46703688cb4
parentdb4dc677406714ed56a14a61f15a493ee0abd899
Don't have the Via header stored as a stringfield as it can change often during the lifetime of a dialog.

This issue crept up with subscriptions on the AA50. When an outgoing NOTIFY is sent a new branch value
is created and the Via header is changed to reflect it. Since this was a stringfield a new spot in the
pool was used for the value while the old was left untouched/unused. If the current pool was full a new
pool was created. This would cause memory usage to increase steadily.

(issue #AA50-2332)

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