I don't know why it is needed, as the description of the function says it will use the outgoing buf (uac) as a basis for the new request. But currently, the functions uses/needs it. The i_req parameter is the uas and is used for calling t_calc_branch() and create_via_hf().

I guess it could just as well construct the new Via from the previous uac in some way.

Reply to this email directly or view it on GitHub.