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

Re: [reSIProcate] [reSIProcate-users] 1.7 now available


The large diff is due to a couple of major changes that I did not feel comfortable putting in a release yet.

1) Since all of the various header-field-value types are lazily parsed, we would encode from the raw buffer if no parse had taken place, and if a parse had taken place, we would encode from the parsed representation. However, this could result in the form changing even if we did read-only operations (for example, the From header could change form when we sent a response, merely because we needed to read the value of the tag parameter). Rev 9169 provides a fix for this; if you only call const accessor functions on, say, a NameAddr, the encode will still use the raw buffer.

2) Previously, every single header-field-value type (and even some non-header-field-values; RequestLine, StatusLine, and Uri) had parameter accessor functions for every parameter type. For instance, "To: <sip:bob@foo>;branch=blah" would create a BranchParameter in the parameter set of the NameAddr, which could be accessed with to.param(p_branch). This is just silly, and in the case of some parameter types, leads to errors (eg; using a NameAddr param as a Uri param, or vice versa). Rev 9176 scopes the various parameter types to the header-field-value types for which they are defined. Calling to.param(p_branch) or to.exists(p_branch) is a compile error, and the parse will treat the "branch=blah" as an unknown parameter type. (You can still access it, you just have to use the ExtensionParameter interface).

Both of these changes were on the invasive side. There were some other assorted small (non-critical) changes in rev 9169 as well, that really didn't need to be put into a release.

Best regards,
Byron Campen

Hello,
I’ve compared Resiprocate sources of Resiprocate 1.7 release and Head Revision 9177. I’ve found many changes, but most of them are in resip/stack project.
Could you please explain to me why there are so many differences? Is it better to use Head Revision or Resiprocate 1.7 sources?
 
Thank you and best regards,
Dario Bozzali.
 

From: resiprocate-users-bounces@xxxxxxxxxxxxxxx [mailto:resiprocate-users-bounces@xxxxxxxxxxxxxxx] On Behalf Of Byron Campen
Sent: martedì 17 maggio 2011 20.33
To: resiprocate-devel@xxxxxxxxxxxxxx; resiprocate-users@xxxxxxxxxxxxxxx
Subject: [reSIProcate-users] 1.7 now available
 
            It has been a long while, but 1.7 is finally out. Notes are on the wiki, as usual.
 
Best regards,
Byron Campen