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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Feb 6 11:36:10 CST 2017


Joshua Colp created ASTERISK-26770:
--------------------------------------

             Summary: 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: 14.2.1, 13.13.1
            Reporter: Joshua Colp
            Severity: Minor


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