[sr-dev] AVPs in replies?
Daniel-Constantin Mierla
miconda at gmail.com
Thu Dec 10 13:51:55 CET 2009
On 12/10/09 1:48 PM, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
> > In K, for 1), by default an empty AVP list is made available for each
> > reply. If onreply_avp_mode=1, then the transaction avp list is made
> > available in onreply_route and onreply_route is executed under a lock,
> > to avoid races between processing many replies at same time.
> >
> > In sr, as I understood, by default the transaction AVP list is made
> > available for each reply, but no lock is used when executing the
> > onreply_route.
>
> that is how i understood it too. now andrei just needs to add the
> missing locking and after that there is compatibility with k
> onreply_avp_mode=1 without any other changes.
>
locking for all replies is not present by default in any of the previous
versions of K or S. That can be noticeable and I wanted to underline is
not backward compatible neither with K or S.
Daniel
--
Daniel-Constantin Mierla
* http://www.asipto.com/
More information about the sr-dev
mailing list