[OpenSIPS-Devel] [ opensips-Bugs-3206584 ] presence: PUBLISH race leads to out of order NOTIFY

SourceForge.net noreply at sourceforge.net
Fri Mar 11 16:53:22 CET 2011


Bugs item #3206584, was opened at 2011-03-11 10:53
Message generated for change (Tracker Item Submitted) made by osas
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3206584&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.6.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ovidiu Sas (osas)
Assigned to: Nobody/Anonymous (nobody)
Summary: presence: PUBLISH race leads to out of order NOTIFY

Initial Comment:
When two PUBLISH requests are received one after each other, it may happen that the second received PUBLISH will generate a NOTIFY before the first received PUBLISH is able to generate it's NOTIFY.

The normal behavior is like this:

--PUBLISH(1)-->|--NOTIFY(1)(Cseq=N)-->
--PUBLISH(2)-->|--NOTIFY(2)(Cseq=N+1)-->

Under the race condition, it lloks like this:

--PUBLISH(1)-->|--NOTIFY(2)(Cseq=N)-->
--PUBLISH(2)-->|--NOTIFY(1)(Cseq=N+1)-->

This leads to an inconsistent client notification.


Regards,
Ovidiu Sas

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3206584&group_id=232389



More information about the Devel mailing list