[sr-dev] how to proper set the RURI

Juha Heinanen jh at tutpro.com
Wed Dec 23 14:47:47 CET 2009


Klaus Darilion writes:

 > I sr code I found several methods how RURI is set, eg:

 > -  rewrite_uri()
 > 
 > -  act.type = SET_URI_T;
 >     do_action(&act, msg)
 > 
 > -  manually by applying a lump
 > 
 > What is the preferred way to do this?

i would use the one that is easiest, i.e., rewrite_uri from dset.h.  the
other two are also more likely to change.

-- juha



More information about the sr-dev mailing list