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

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


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 783a18a8df4b8e9dcfd147ec0c63caceeeaa7bb9
      https://github.com/OpenSIPS/opensips/commit/783a18a8df4b8e9dcfd147ec0c63caceeeaa7bb9
  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.




More information about the Devel mailing list