[OpenSIPS-Devel] [ opensips-Patches-3042432 ] [pua] add a "publish" queue to avoid deadlock
Anca Vamanu
anca at opensips.org
Mon Aug 16 14:52:37 CEST 2010
On 08/16/2010 01:45 PM, Alex Hermann wrote:
>
> 2) Add queueing. In your implementation you only keep one extra publish. I'd
> prefer that the presence server receives all publishes, so i updated the patch
> from csollet to put them in a queue.
>
I have now looked closer in this patch - it is not entirely correct. I
see that on the tm callback when the reply is received, you send all the
publishes in a loop - well, you actually have to wait for the reply of
the first before sending another one. So there is no need for the
'while' there, but only a 'if'.
--
Anca Vamanu
www.voice-system.ro
More information about the Devel
mailing list