[sr-dev] Does t_continue () work with t_reply_with_body ()?

Robert Boisvert rdboisvert at gmail.com
Tue Feb 19 23:02:49 CET 2013


I may have found the disturbing answer to my question.  According to the
code I'm looking at in modules/tm/t_reply.c it adds this comment after
sending the reply with body:

 /* this is ugly hack -- the function caller may wish to continue with
  * transaction and I unref; however, there is now only one use from
  * vm/fifo_vm_reply and I'm currently to lazy to export UNREF; -jiri
  */
 UNREF(trans);
Does this mean the transaction is released after using the
t_reply_with_body () function?  If so, is there any way around this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130219/090ef606/attachment.htm>


More information about the sr-dev mailing list