Transport references bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The problem is that 'pjsip_transport_add_ref' and 'pjsip_transport_dec_ref' aren't called in pairs(the reference count is 1)when register to SIP get 408 error. If the same transport is used to register to SIP server again, the reference count will become to 2 after 408 error is got again. If the transport is shutdown by 'pjsip_transport_shutdown', the transport will not be shut down, and then when the tcp socket is disconnected the transport will not be destroyed for reference count isn't 0. I want to know why does this happen and how can I resolve this problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140714/83fb12fa/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux