[OpenSIPS-Devel] [OpenSIPS/opensips] 9d5caa: dialog: fix possible hash id conflict on restart
Liviu Chircu
liviu at opensips.org
Tue Aug 19 11:14:58 CEST 2014
Branch: refs/heads/1.8
Home: https://github.com/OpenSIPS/opensips
Commit: 9d5caa519968261e1a73abbf2222f64103645ae9
https://github.com/OpenSIPS/opensips/commit/9d5caa519968261e1a73abbf2222f64103645ae9
Author: Liviu Chircu <liviu at opensips.org>
Date: 2014-08-19 (Tue, 19 Aug 2014)
Changed paths:
M modules/dialog/dlg_db_handler.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)
Conflicts:
modules/dialog/dlg_replication.c
More information about the Devel
mailing list