Module: sip-router
Branch: master
Commit: 5ab44c7c2fc78038302bf455ff49e374fc79550b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5ab44c7…
Author: Jason Penton <jason.penton(a)smilecoms.com>
Committer: Jason Penton <jason.penton(a)smilecoms.com>
Date: Mon Sep 30 11:14:54 2013 +0200
modules/tm: extended async usage
- enables resuming of tx in orginal route block tx was suspended, not only failure route
- dedicated lock to prevent multiple invocations of suspend on tz (reply lock used to be
used)
- extra flag (T_ASYNC_CONTINUE) to mark a transaction that is being execute post suspend
---
modules/tm/h_table.h | 19 ++++++-
modules/tm/lock.c | 36 ++++++++++++-
modules/tm/lock.h | 1 +
modules/tm/t_fwd.c | 5 ++
modules/tm/t_reply.c | 135 +++++++++++++++++++++++++++--------------------
modules/tm/t_reply.h | 2 +-
modules/tm/t_suspend.c | 72 +++++++++++++++----------
modules/tm/t_suspend.h | 3 +
8 files changed, 180 insertions(+), 93 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=5ab…