[Devel] CVS commitlog: sip-server/modules/tm t_reply.c t_reply.h
tm.c tm_load.h
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri May 19 11:41:09 CEST 2006
User: bogdan_iancu
Date: 2006/05/19 02:41:09 PDT
OpenSER CVS - Commit Details
Modified files:
modules/tm t_reply.c t_reply.h tm.c tm_load.h
Commit Log:
- branch selection algorithm centralized in a single place - more coherent
and easier to maintain.
- the selected branch in stored in a static variable to avoid multiple
computation for same transaction (so far, each t_check_status() call was
triggering computation of the selected branch)
- TM API exports a new function for making public the selected branch (how
the winning branch is selected must be transparent for the other modules)
- fixed the branch selection algorithm - if the transaction was cancelled, the
"487 Request cancelled" reply will have priority and it will be sent to UAC.
Revision Changes Path
1.25 +59 -61 sip-server/modules/tm/t_reply.c
[ http://openser.cvs.sourceforge.net/openser/sip-server/modules/tm/t_reply.c?r1=1.24&r2=1.25 ]
1.3 +5 -4 sip-server/modules/tm/t_reply.h
[ http://openser.cvs.sourceforge.net/openser/sip-server/modules/tm/t_reply.h?r1=1.2&r2=1.3 ]
1.33 +12 -11 sip-server/modules/tm/tm.c
[ http://openser.cvs.sourceforge.net/openser/sip-server/modules/tm/tm.c?r1=1.32&r2=1.33 ]
1.5 +2 -1 sip-server/modules/tm/tm_load.h
[ http://openser.cvs.sourceforge.net/openser/sip-server/modules/tm/tm_load.h?r1=1.4&r2=1.5 ]
More information about the Devel
mailing list