[OpenSIPS-Devel] [OpenSIPS/opensips] 00a3ab: Fix t_reply_with_body() when called after t_newtran()
Bogdan Andrei IANCU
noreply at github.com
Tue Mar 12 03:32:25 EDT 2019
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 00a3ab348b0400fc63d25f742916ec65602f7e3f
https://github.com/OpenSIPS/opensips/commit/00a3ab348b0400fc63d25f742916ec65602f7e3f
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-03-12 (Tue, 12 Mar 2019)
Changed paths:
M modules/tm/t_reply.c
Log Message:
-----------
Fix t_reply_with_body() when called after t_newtran()
Force an update of the cloned request (from transaction) with info from the real request before internally running t_reply_with_body(). As t_reply_with_body() works with the cloned request, we need to be sure it is up-2-date; and t_newtran() does a partial cloning of the requests - so, if the transaction already exists better update its cloned request to be sure it has all data.
Credits for detailed reporting to @rrb3942
Closes #1632
More information about the Devel
mailing list