]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_outbound_publish: Won't unload if condition wait times out 03/2803/1
authorKevin Harwell <kharwell@digium.com>
Tue, 3 May 2016 20:39:32 +0000 (15:39 -0500)
committerKevin Harwell <kharwell@digium.com>
Wed, 11 May 2016 16:40:42 +0000 (11:40 -0500)
commit4752ef02e02dfcb1b1ec38d154eb9bc42736df3c
treee87fbbd7d1c4eb0c5bf98435c891239c38ca5282
parent81773ceb9cb03e11b9a39fb882dcc72815784566
res_pjsip_outbound_publish: Won't unload if condition wait times out

When res_pjsip_outbound_publish unloads it has to wait for all current
publishing objects to get done. However if the wait condition times out
then it does not fail the unload. This sometimes results in an infinite
loop check while unloading. This patch now fails the unload operation if
the condition times out.

Change-Id: Id57b8cbed9d61222690fcba1e4f18e259df4c7ec
res/res_pjsip_outbound_publish.c