]> git.ipfire.org Git - thirdparty/asterisk.git/commit
transport management: Register thread with PJProject. 13/2613/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:21 +0000 (14:28 -0500)
commit0b35582bbbee929455db927060146a429bb6f759
treed50f5c8aa1424cad40aa4078e0dfbb454d3d4fa8
parent9f8b803a290fa220c3ea6483324b5be9ada49f74
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