[asterisk-bugs] [JIRA] (ASTERISK-26770) res_stasis_device_state: Duplicate subscriptions when multiple received at same time

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Thu Mar 23 16:08:30 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Harwell updated ASTERISK-26770:
-------------------------------------

    Target Release Version/s: 14.4.0

> res_stasis_device_state: Duplicate subscriptions when multiple received at same time
> ------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26770
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26770
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_stasis_device_state
>    Affects Versions: 13.13.1, 14.2.1
>            Reporter: Joshua Colp
>            Assignee: Joshua Colp
>            Severity: Minor
>      Target Release: 13.4.0, 13.15.0, 14.4.0
>
>
> There is a race condition in the res_stasis_device_state module when adding subscriptions. If two subscription requests for the same device state are received at the same time there is a slim window between checking and adding the subscription where the second subscription will not see the first. This results in two subscriptions being added instead of just one.



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



More information about the asterisk-bugs mailing list