[sr-dev] git:master:b0becdd9: tm: new parameter exec_time_check for safety checks on lenghtly callbacks

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 15 16:01:26 CEST 2020


Module: kamailio
Branch: master
Commit: b0becdd95dcd5d403d435bd02ee7934b44d9fcf6
URL: https://github.com/kamailio/kamailio/commit/b0becdd95dcd5d403d435bd02ee7934b44d9fcf6

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-04-15T15:52:17+02:00

tm: new parameter exec_time_check for safety checks on lenghtly callbacks

- try to detect when failure callbacks execution take too long and do
safety check of the transaction
- default value is 5000 (milliseconds)
- set to 0 to disable this check

---

Modified: src/modules/tm/t_cancel.c
Modified: src/modules/tm/t_fwd.c
Modified: src/modules/tm/t_lookup.c
Modified: src/modules/tm/t_lookup.h
Modified: src/modules/tm/t_reply.c
Modified: src/modules/tm/t_reply.h
Modified: src/modules/tm/timer.c
Modified: src/modules/tm/tm.c

---

Diff:  https://github.com/kamailio/kamailio/commit/b0becdd95dcd5d403d435bd02ee7934b44d9fcf6.diff
Patch: https://github.com/kamailio/kamailio/commit/b0becdd95dcd5d403d435bd02ee7934b44d9fcf6.patch




More information about the sr-dev mailing list