[OpenSIPS-Devel] [OpenSIPS/opensips] 16019d: Fix usage of t_reply_with_body() with reply lumps.

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Sep 23 11:26:02 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 16019d3f8b7f00e36c2654b53eaf3d9dd2ff69ab
      https://github.com/OpenSIPS/opensips/commit/16019d3f8b7f00e36c2654b53eaf3d9dd2ff69ab
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M modules/tm/t_reply.c

  Log Message:
  -----------
  Fix usage of t_reply_with_body() with reply lumps.

Force pushing all reply lumps (headers added to the reply) when using t_reply_with_body() - the function takes the msg from the transaction, not the real msg; so we need to be sure that the msg in transaction was fully cloned.

Reported by Giuseppe Cardone on mailing list.

(cherry picked from commit 783a18a8df4b8e9dcfd147ec0c63caceeeaa7bb9)




More information about the Devel mailing list