[CONC-613] mysql_real_query_start sends not encrypted requests to server Created: 2022-09-09 Updated: 2023-05-02 |
|
| Status: | Open |
| Project: | MariaDB Connector/C |
| Component/s: | Non blocking API, TLS/SSL |
| Affects Version/s: | 3.3.2, 3.1.18 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major |
| Reporter: | Alex | Assignee: | Georg Richter |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows (Windows 10 Pro, version - 21H2, build number - 19044.1889, arch - X86_64) |
||
| Attachments: |
|
| Description |
|
Hello! I use libmariadb on Windows machine. When I run mysql_real_query_start() after creating connection with ssl mode to mysq server (8.0.30) or mariadb server (10.9.2) it fails with error code 2013 and error msg "Lost connection to MySQL server during query". If I run the same code on Centos7 it works fine. The problem is in mysql_real_query_start(). It sends not encrypted request to server and therefore server closes the connection. As the result we get error msg "Lost connection to MySQL server during query". How to repeat: |
| Comments |
| Comment by Georg Richter [ 2023-05-02 ] |
|
Reclassifying as a feature request, since schannel is not supported yet in non blocking IO. |