Revision: 6027
http://openser.svn.sourceforge.net/openser/?rev=6027&view=rev
Author: timoreimann
Date: 2010-07-27 13:48:22 +0000 (Tue, 27 Jul 2010)
Log Message:
-----------
modules/dialog: 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).
- Move POINTER_CLOSED_MARKER from dlg_cb.c into dlg_hash.h for common
usage.
- in lookup_dlg() and internal_get_dlg(), return POINTER_CLOSED_MARKER when
dialog is found but in the DLG_STATE_DELETED state.
- in dlg_onroute(), abort request processing if dialog is found to be in
the "deleted" state.
Modified Paths:
--------------
branches/1.5/modules/dialog/dlg_cb.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
This was sent by the
SourceForge.net collaborative development platform, the world's
largest Open Source development site.