#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [X] Commit message has the format required by CONTRIBUTING guide
- [X] Commits are split per component (core, individual …
[View More]modules, libs, utils, ...)
- [X] Each component has a single commit (if not, squash them into one commit)
- [X] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [X] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
- [X] PR should be backported to stable branches
- [ ] Tested changes locally
- [X] Related to issue #3727
#### Description
PostgreSQL may be configured to use SSL: init in a thread
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3730
-- Commit Summary --
* db_postgres: init libssl in a thread
-- File Changes --
M src/modules/db_postgres/km_dbase.c (17)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3730.patchhttps://github.com/kamailio/kamailio/pull/3730.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3730
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3730(a)github.com>
[View Less]
#### Pre-Submission Checklist
- [X] Commit message has the format required by CONTRIBUTING guide
- [X] Commits are split per component (core, individual modules, libs, utils, ...)
- [X] Each component has a single commit (if not, squash them into one commit)
- [X] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [X] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature …
[View More](non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
- [X] PR should be backported to stable branches
- [ ] Tested changes locally
- [X] Related to issue #3727
#### Description
`mod_init()` in configuration can initialise libssl in rank 0(thread#1). User report is with regard to using `db_unixodbc`; however the same errors can be reproduced with `db_mysql` replacing `db_unixodbc`.
This PR inits libssl in a separate thread.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3729
-- Commit Summary --
* db_mysql: init libssl in a thread
-- File Changes --
M src/modules/db_mysql/km_dbase.c (17)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3729.patchhttps://github.com/kamailio/kamailio/pull/3729.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3729
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3729(a)github.com>
[View Less]
- [X] Commit message has the format required by CONTRIBUTING guide
- [X] Commits are split per component (core, individual modules, libs, utils, ...)
- [X] Each component has a single commit (if not, squash them into one commit)
- [X] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [X] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which …
[View More]adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [X] PR should be backported to stable branches
- [X] Tested changes locally
- [X ] Related to issue #3727
#### Description
The bug report kamailio configuration is using dispatcher + unixodbc and the database driver (tested with MariaDB ODBC, user reports with MS SQL Server(not tested)) inits libssl in rank 0(thread 1).
This PR will init in a thread.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3728
-- Commit Summary --
* db_unixodbc: init libssl in a thread
-- File Changes --
M src/modules/db_unixodbc/dbase.c (17)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3728.patchhttps://github.com/kamailio/kamailio/pull/3728.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3728
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3728(a)github.com>
[View Less]
Hi everybody,
I normally use MongoDB as DB engine in my projects and I would like to get
all MongoDB advantages when working with Kamailio. For this reason, I need
to deal with arrays of information inside a document (for example, an array
of contacts inside a document).
And now the question: is it possible to insert, update and search info in a
MongoDB document by using arrays via srdb1 lib? If yes, how? And if not,
are you thinking about implementing it in the future?
Thank you very much …
[View More]for your time.
Regards,
Mario
[View Less]