[sr-dev] [kamailio/kamailio] dialog: dont reset dlg_db_mode in POSTCHILDINIT for DB_MODE_SHUTDOWN (PR #3221)

Daniel-Constantin Mierla notifications at github.com
Wed Aug 17 09:40:32 CEST 2022


@shaneqld: thanks for tracking it and troubleshooting details!

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. Therefore it should better be:

```
if (dlg_db_mode==DB_MODE_SHUTDOWN && rank!=PROC_MAIN && rank!=PROC_POSTCHILDINIT)
		dlg_db_mode = DB_MODE_NONE;
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3221#issuecomment-1217598050
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3221/c1217598050 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220817/75dc41cc/attachment-0001.htm>


More information about the sr-dev mailing list