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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Nov 14 09:12:41 CST 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=239998#comment-239998 ] 

Friendly Automation commented on ASTERISK-27411:
------------------------------------------------

Change 7174 merged by Joshua Colp:
pjsip: Add patch to allow all transports to be destroyed.

[https://gerrit.asterisk.org/7174|https://gerrit.asterisk.org/7174]

> 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: 13.18.1, 15.1.1
>            Reporter: Joshua Colp
>            Assignee: 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