[asterisk-bugs] [JIRA] (ASTERISK-27411) pjsip: TCP connections may not be destroyed

Joshua Colp (JIRA) noreply at issues.asterisk.org
Fri Nov 10 07:07:28 CST 2017


Joshua Colp created ASTERISK-27411:
--------------------------------------

             Summary: pjsip: TCP connections may not be destroyed
                 Key: ASTERISK-27411
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27411
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip/Bundling
    Affects Versions: 15.1.1, 13.18.1
            Reporter: Joshua Colp


Once a pjsip transport is removed from the hash table, it cannot be manually destroyed.

Scenario:

pjsip_transport_register() can move a transport from the hash table to tp_list.
Calling pjsip_transport shutdown() to that transport will not destroy it since pjsip_transport_add_ref() and pjsip_transport_dec_ref() will have no effect, due to is_transport_valid() check.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list