[Devel] SF.net SVN: openser: [2246] branches/1.2/modules/tm

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri May 18 12:37:38 CEST 2007


Revision: 2246
          http://openser.svn.sourceforge.net/openser/?rev=2246&view=rev
Author:   bogdan_iancu
Date:     2007-05-18 03:37:38 -0700 (Fri, 18 May 2007)

Log Message:
-----------
BACKPORT from trunk:

- bug fixed: remove the setting of KR (Kill Reason) when generating local
  transactions. This was resulting in overwriting the value ( stored in a 
  gloabl variable) in case of nested transaction processing. Example: receive
  a request, build from script the coresponding transaction (T1) and then
  use functions (from script) to send local requests via TM (T2).
  The result of this overwriting of KR between T1 and T2 was a possible
  memeory leak (in some cases), by not automatically freeing the T1 
  transaction at the script exit. 
  The leak appeard only in a corner case when there the transaction was
  not properly handled from script.

  Many thanks to Klaus Darilion <klaus.mailinglists at pernau.at> for report
  and extensive testing and help.


- fixed the oldest living bug in openser...
  proper reset of KR (kill reason) before processing a new request. This was
  leading to mem leak as some transactions (when only t_newtran) was used were
  not freed.

  Many thanks to Klaus Darilion for the access to a debugging platform
  Thanks to Anca Vamanu for the help in troubleshooting this.

Modified Paths:
--------------
    branches/1.2/modules/tm/h_table.c
    branches/1.2/modules/tm/h_table.h
    branches/1.2/modules/tm/t_cancel.c
    branches/1.2/modules/tm/tm.c
    branches/1.2/modules/tm/uac.c


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list