[OpenSIPS-Devel] SF.net SVN: opensips:[5056] trunk/modules/dialog

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Dec 12 08:49:19 CET 2008


Revision: 5056
          http://opensips.svn.sourceforge.net/opensips/?rev=5056&view=rev
Author:   bogdan_iancu
Date:     2008-12-12 07:49:19 +0000 (Fri, 12 Dec 2008)

Log Message:
-----------
fixed raced between BYE and EXPIRE events; during such a race, the dialog may be removed (freed) because of the BYE events and the timer process will have a bogus pointer to the dialog.

- dialog timer refurbished (insert/remove logic, expired dialog processing)
- added on more reference to protect the dialogs inserted into the timer list
- fixed dialog state machine to avoid destroying the dialog inside the state machine (and returning to the calling function a dangling pointer)

Modified Paths:
--------------
    trunk/modules/dialog/dlg_db_handler.c
    trunk/modules/dialog/dlg_handlers.c
    trunk/modules/dialog/dlg_hash.c
    trunk/modules/dialog/dlg_hash.h
    trunk/modules/dialog/dlg_req_within.c
    trunk/modules/dialog/dlg_timer.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