[CONC-448] Connector does not preserve capabilities flags set after TLS connection failure Created: 2019-12-04  Updated: 2021-02-08  Resolved: 2021-02-08

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 3.1.4
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Dinar123 Assignee: Georg Richter
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

windows build with default options


Attachments: PNG File maria1.png     PNG File maria2.png    

 Description   

If TLS connection fails for some reason (TLS version mismatch) the connector attemts to REconnect without TLS, BUT does not preserve capabilities flags set.



 Comments   
Comment by Georg Richter [ 2020-01-29 ]

Hi,

can you please try a more recent version of MariaDB Connector/C?!
It looks like this issue was already fixed by following commit:

commit a0cbee900b58bbf1e946b0427cfad9e0b611a876
Author: Georg Richter <georg@mariadb.com>
Date: Fri Oct 11 16:39:01 2019 +0200

Schannel fix for 9ba8e32f6d0fe449114d8eb369cf29303257b460

When we try to reconnect we need to set CLIENT_REMEMBER_OPTIONS otherwise
new connection will not be secure.

Comment by Georg Richter [ 2021-02-08 ]

Since there was no feedback provided and the reported behavior wasn't reproducible, this issue will be closed.

Generated at Thu Feb 08 03:05:23 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.