Updates all usages of ast_tcptls_session_instance to be managed by reference counts...
authorBrett Bryant <bbryant@digium.com>
Tue, 17 Jun 2008 21:46:57 +0000 (21:46 +0000)
committerBrett Bryant <bbryant@digium.com>
Tue, 17 Jun 2008 21:46:57 +0000 (21:46 +0000)
commit2aae0ba13deb7eb06138587e5b4e8c1a5feeeb47
tree433e912686703e932450fab80be4457b5636176a
parent9d403c379fcac970210c6d42dbfe4e98b175bccc
Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using
them, and memory does not get free'd causing strange issues with SIP.

This code was originally written by russellb in the team/group/issue_11972/ branch.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@123546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_externalivr.c
channels/chan_sip.c
include/asterisk/tcptls.h
main/astobj2.c
main/http.c
main/manager.c
main/tcptls.c