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/
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev