[OpenSIPS-Devel] [OpenSIPS/opensips] 6580c7: dialog: fix possible hash id conflict on restart
Liviu Chircu
liviu at opensips.org
Tue Aug 19 11:12:19 CEST 2014
Branch: refs/heads/1.10
Home: https://github.com/OpenSIPS/opensips
Commit: 6580c703ffcd61129603449faaacf3564fb39bcb
https://github.com/OpenSIPS/opensips/commit/6580c703ffcd61129603449faaacf3564fb39bcb
Author: Liviu Chircu <liviu at opensips.org>
Date: 2014-08-19 (Tue, 19 Aug 2014)
Changed paths:
M modules/dialog/dlg_db_handler.c
M modules/dialog/dlg_replication.c
Log Message:
-----------
dialog: fix possible hash id conflict on restart
When restarting the proxy, the auto-generated next_id of each
hash entry is not properly incremented if a loaded dialog happens to
have this same next_id as hash id. This will soon lead to duplicate hash ids.
Reported by miko95 on GitHub.
(cherry picked from commit b7c3686c176e7c15b806e50f9743ab91656a8da3)
More information about the Devel
mailing list