Revision: 6040 http://openser.svn.sourceforge.net/openser/?rev=6040&view=rev Author: timoreimann Date: 2010-08-05 16:39:48 +0000 (Thu, 05 Aug 2010)
Log Message: ----------- modules/dialog: Provide new fix to prevent "unable to find dialog" WARN messages caused by accessing a dialog in the "deleted" state (often happens with simultaneous BYE requests when both UAs hang up at the same time).
This commit uses a different approach where a "deleted" flag is set in get_dlg() and lookup_dlg() which callers may evaluate. Callers who only care about existing dialogs can ignore the flag by passing a NULL argument.
This revision "replaces" 6027.
Modified Paths: -------------- branches/1.5/modules/dialog/dialog.c branches/1.5/modules/dialog/dlg_handlers.c branches/1.5/modules/dialog/dlg_hash.c branches/1.5/modules/dialog/dlg_hash.h branches/1.5/modules/dialog/dlg_req_within.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.