]> git.ipfire.org Git - thirdparty/asterisk.git/commit
transport management: Register thread with PJProject. 11/2611/4
authorMark Michelson <mmichelson@digium.com>
Thu, 14 Apr 2016 18:49:35 +0000 (13:49 -0500)
committerMark Michelson <mmichelson@digium.com>
Thu, 14 Apr 2016 19:25:13 +0000 (14:25 -0500)
commit5f788018592ec33e4b8928a614ca012fcc75542e
tree536c2f228cf3cea4b0f694a055f61dac7f0d1f8f
parent13cb5ea73fad7cc0ae9140ad8070d362f3aa6527
transport management: Register thread with PJProject.

The scheduler thread that kills idle TCP connections was not registering
with PJProject properly and causing assertions if PJProject was built in
debug mode.

This change registers the thread with PJProject the first time that the
scheduler callback executes.

AST-2016-005

Change-Id: I5f7a37e2c80726a99afe9dc2a4a69bdedf661283
res/res_pjsip_transport_management.c