[SR-Dev] sip_uri structure

Miklos Tirpak miklos at iptel.org
Wed May 13 11:51:56 CEST 2009


I am wondering whether I can add a new parameter (or possibly 
parameters) to the sip_uri structure because of performance reasons. 
There are some parameter values that need to be accessed frequently, and 
having a short-cut to them would be very good, otherwise the linked list 
for the parameters is always constructed and freed.

The current request is for the "rn" parameter from RFC 4694 which may be 
checked as frequently as ruri.user in certain deployments. If the memory 
usage is a concern then I can also introduce a #define statement, 
something like URI_PARAM_SHORTCUTS.


More information about the sr-dev mailing list