You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Persist the fallback TLS version only on success. Fixes#1349
If an exception happens during TLS negotiation, we only want to set the fallback TLS version on the connection pool if connecting succeeded. Otherwise, we could get into a permanent state of trying to connect with a TLS version that will fail.
Signed-off-by: Bradley Grainger <[email protected]>
catch(Exceptionex)when(shouldRetrySsl&&((exisMySqlException&&ex.InnerExceptionisAuthenticationException or IOException)||exisAuthenticationException orIOException))
548
551
{
549
552
// negotiating TLS 1.2 with a yaSSL-based server throws an exception on Windows, see comment at top of method
550
-
Log.Debug(ex,"Session{0} failed negotiating TLS; falling back to TLS 1.1",m_logArguments);
553
+
Log.Warn(ex,"Session{0} failed negotiating TLS; falling back to TLS 1.1",m_logArguments);
0 commit comments