[sr-dev] [kamailio/kamailio] dialog: dont reset dlg_db_mode in POSTCHILDINIT for DB_MODE_SHUTDOWN (PR #3221)
shaneqld
notifications at github.com
Wed Aug 17 09:56:12 CEST 2022
Hi @miconda
> If dlg_db_mode = DB_MODE_NONE is done on PROC_MAIN, then on PROC_POSTCHILDINIT is not restored, I don't see how that could happen.
It's restored as the value is reset at the start of `child_init()` as so:
```c
static int child_init(int rank)
{
dlg_db_mode = dlg_db_mode_param;
```
Happy to update the PR if checking against both `PROC_MAIN` and `PROC_POSTCHILDINIT` is preferred.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3221#issuecomment-1217631509
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3221/c1217631509 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220817/1f956179/attachment.htm>
More information about the sr-dev
mailing list