[sr-dev] how to proper set the RURI

Klaus Darilion klaus.mailinglists at pernau.at
Wed Dec 23 15:20:46 CET 2009



On 23.12.2009 14:40, Klaus Darilion wrote:
> Hi!
>
> 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?

found one more:

- manually setting msg->new_uri.s

Must msg->new_uri.s be a null-terminated string? (I see code adding \0, 
but not all code is adding the \0)

klaus



More information about the sr-dev mailing list