< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] suggestion!


mOriginalContacts is used to roll back to a previous state for an AOR in the case of a failure. You don't want to change it during processing.

/a

hongsion wrote:

Hi resip,

I found ServerRegistration::dispatch(),mOriginalContacts variable is not used. And stack will update database for each contact. My advice is stack should update mOriginalContacts, and after all contacts are updated, write mOriginalContacts back to database. this way maybe more efficient. Not sure is it right or not, Welcome comments.

Regards,

hongsion

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

_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel