[Asterisk-code-review] res_pjsip_pubsub: destroy old subscriptions on RLS update using seria... (asterisk[16])
Alexei Gradinari
asteriskteam at digium.com
Thu Aug 4 08:30:11 CDT 2022
Attention is currently required from: Alexei Gradinari.
Hello N A, Friendly Automation,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/c/asterisk/+/18891
to look at the new patch set (#2).
Change subject: res_pjsip_pubsub: destroy old subscriptions on RLS update using serializer
......................................................................
res_pjsip_pubsub: destroy old subscriptions on RLS update using serializer
Set termination state to old subscriptions to immediately stop
sending NOTIFY messages on exten/device state changes.
Fix a data-race on RLS update.
While destroying old subscriptions, they can be used by exten/device
state changes. Thus, we need to add a task into serializer of
subscription tree to destroy old subscriptions.
ASTERISK-29906
Change-Id: I96582aad3a26515ca73a8460ee6756f56f6ba23b
---
M res/res_pjsip_pubsub.c
1 file changed, 20 insertions(+), 2 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/91/18891/2
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18891
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I96582aad3a26515ca73a8460ee6756f56f6ba23b
Gerrit-Change-Number: 18891
Gerrit-PatchSet: 2
Gerrit-Owner: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: N A <mail at interlinked.x10host.com>
Gerrit-Attention: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220804/44bb368e/attachment.html>
More information about the asterisk-code-review
mailing list