[Devel] parsed uri in struct to_body

Juha Heinanen jh at tutpro.com
Fri Dec 22 16:54:06 CET 2006


i have been wondering what is the reason that struct to_body does not
have parsed sip uri field (of type struct sip_uri).  now if, for
example, parsed from uri is needed more than once during request
processing, its needs to be parsed more than once.  would it make sense
to parse it only once (if needed) and save the result in struct to_body
of the parsed header?

-- juha



More information about the Devel mailing list