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.

_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to