]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix worker thread resource leak in SIP TCP/TLS.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 24 Feb 2012 18:27:21 +0000 (18:27 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 24 Feb 2012 18:27:21 +0000 (18:27 +0000)
commitd372c43488376e5e2871f112d5cf2a66fa9f84dc
treedee42866c9bf4015c8ded9d854f6ef0bc6ed58c5
parentff7665db8667dfb9c5073cac91094a85a8e0519d
Fix worker thread resource leak in SIP TCP/TLS.

The SIP TCP/TLS worker threads were created joinable but noone could join
them if they died on their own.

* Fix the SIP TCP/TLS worker threads to not be created joinable.

* _sip_tcp_helper_thread() only needs one parameter since the pvt
parameter is only passed in as NULL and never used.

(closes issue ASTERISK-19203)
Reported by: Steve Davies

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

Merged revisions 356677 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@356690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
channels/sip/include/sip.h
include/asterisk/tcptls.h