drogonframework / drogonframework/drogon
Add option to enable/disable MySQL SSL support via mysql_options
Open
enhancement
- Dominant language
- C++
- Stars
- 14.3k
- Forks
- 1.4k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 15
Description
Currently, Drogon calls `mysql_options(mysqlPtr_.get(), MYSQL_OPT_NONBLOCK, nullptr);` when configuring MySQL connections. To better support users who need to enable or disable SSL (for example, with MYSQL_OPT_SSL_MODE or MYSQL_OPT_SSL_ENFORCE), please add a way to configure this behavior via Drogon’s database configuration. This would make it easier to comply with different security requirements or local policies.
Contributor guide
Assessment
This issue has not been assessed yet.