March 13, 2009
View 33bfeb9da9

The fixup function prototypes of the config variables have been extended with the group name. All the fixup functions have been updated.

Miklos Tirpak authored on 13/03/2009 13:59:28
May 30, 2008
View c1d3d33509

- fix: in some corner cases where send blocks for a long time or when final reply or on send callbacks take too much time to execute for a transaction for which the final reply timer just expired, it is possible that the wait handler would execute _before_ we are finished with t (e.g. before all the callbacks are called). Because presence on a timer list is not ref. counted and we optimize deletion by allowing unlink_timer() not to wait for the fr_timer to finish (timer_allow_del()) this would mean the transaction will be deleted while still in use. The fix makes sure the wait timer is always started after we're not looking at t anymore (an alternative would be to remove timer_allow_del() from retr_buf_hanlder(), but this could cause fast timer slowdowns).

Andrei Pelinescu-Onciul authored on 30/05/2008 21:10:53
February 26, 2008
View 431de0d9c0

- stop retransmissions even if a final reply is received before we have got a chance to start the retransmission timers. Closes SER-362.

Andrei Pelinescu-Onciul authored on 26/02/2008 17:37:59
February 15, 2008
View 2b36d88927

tm module parameters are changed to use the configuration framework, that means the parameters are changeable on-the-fly. ("fr_timer_avp", "fr_inv_timer_avp", and "tw_append" are left untouched)

Miklos Tirpak authored on 15/02/2008 12:11:46
February 11, 2008
View 2cfcc6bb1b

DNS resolver and cache parameters use the configuration framework that makes the config variables changeable on-the-fly.

Miklos Tirpak authored on 11/02/2008 09:58:29
December 13, 2007
View a4d17f8262

Destination blacklist parameters have been updated to the config framework, the following variables are changeable runtime:

Miklos Tirpak authored on 13/12/2007 15:29:55
November 14, 2007
View e9ae889126

Fixing improper blacklisting of destinations because of non-INVITE timeouts. Two new module parameters are introduced:

Miklos Tirpak authored on 14/11/2007 15:30:21
July 26, 2007
View 7a64325cf2

dst blacklist callbacks are extended with the sip msg parameter.

Miklos Tirpak authored on 26/07/2007 11:52:22
June 9, 2007
View d2a3df03ea

- execute wait timer handlers & retr. handlers in the fast timer (=> faster response), but switch to the slow timer for the FR (which might take some time: dns failover, failure routes a.s.o). This change brought me 300 extra cps (~3%). - added missing include

Andrei Pelinescu-Onciul authored on 09/06/2007 17:48:52
June 5, 2007
View b5f473ee9c

- warnings & DBG cleanup

Andrei Pelinescu-Onciul authored on 05/06/2007 21:26:44
View 3357dbdf88

- fix: relay_reply/local_reply on error cancel/cancel_bitmap: avoid attempts to cancel twice - fix: wrong silent discarding condition - noisy_ctimer is now 1 (on) by default (due to the above fix you'll really see silent discards without it which is not probably what you want/expect) - cancel updates: - cancel not sent on timeout, for branches on which no reply was received (closes SER-254). - cancels for silently canceled branches (no replies ever received) are automatically generated if later a provisional reply arrives on such a branch (close SER-232) - if branch canceled (non-silently) and provis. reply on it => immediately retransmit cancel - should_cancel_branch() can now be called w/o any lock held

Andrei Pelinescu-Onciul authored on 05/06/2007 14:35:17
View c0ff60b688

- tm per transaction retr timers: support for changing the retransmission intervals on the fly, from the script, on a per transaction basis (it is enabled if tm is compiled with -DTM_DIFF_RT_TIMEOUT -- default): t_set_retr(t1, t2) - tm transaction lifetime for inv/noninv (config. per transaction): added maximum transaction lifetime - a transaction is not allowed to be active longer then this interval. See t_set_max_lifetime() or the new script params. max_inv_lifetime and max_noninv_lifetime. - fix: retr_interval was not disabled on error in retr_buf_hanlder

Andrei Pelinescu-Onciul authored on 05/06/2007 14:12:36
May 29, 2007
View e67d950955

- transactions are now deleted when their reference counter reaches 0 (this removes the need for the delete timer hack and some extra locking and it should reduce memory usage in very busy situations). For now it's still possible to revert to the old behaviour by removing the TM_DEL_UNREF define in h_table.h.

Andrei Pelinescu-Onciul authored on 29/05/2007 23:59:34
May 24, 2007
View 6aa46ec4aa

- tmcb onsend callbacks update (they get also the request or the reply if they are known when the callback is called) - added unlikely() when checking if an onsend callback has to be called (so that the branch will be predicted as untaken)

Andrei Pelinescu-Onciul authored on 24/05/2007 18:01:19
April 27, 2007
View ad99759256

- added flags to tm onsend callbacks that should tell if the callbacks is called due to a retransmission or for a local generated message

Andrei Pelinescu-Onciul authored on 27/04/2007 14:52:06