]> git.ipfire.org Git - thirdparty/asterisk.git/commit
transport management: Register thread with PJProject. 15/2615/3
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:28:28 +0000 (14:28 -0500)
commitb66c7367ec7f45fe35203fc716723bed694851b7
tree2fa526e20a58c293c5d187fb21a458e48d4624db
parent90b551b9bdeb03d7346b75930a1d60780004e48f
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