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?
Thanks klaus
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
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