Closed ramasangita closed 4 months ago
I see the following error randomly in our application "Mysql2::Error::ConnectionError: TLS/SSL error: unexpected eof while reading"
I understand this error of from latest openssl version if connection is closed without close_notify alert (https://github.com/openssl/openssl/issues/18866#issuecomment-1194219601)
and mariadb does this intentionally: https://github.com/MariaDB/server/blob/73ed0a23ebeba96d777b768cf79a290f6b4ea2e8/vio/viossl.c#L222
So could a configuration option be added to set SSL_OP_IGNORE_UNEXPECTED_EOF?
Closing it, as I realise this is irrelevant. It just changes the error message and I should handler underlying issue
I see the following error randomly in our application "Mysql2::Error::ConnectionError: TLS/SSL error: unexpected eof while reading"
I understand this error of from latest openssl version if connection is closed without close_notify alert (https://github.com/openssl/openssl/issues/18866#issuecomment-1194219601)
and mariadb does this intentionally: https://github.com/MariaDB/server/blob/73ed0a23ebeba96d777b768cf79a290f6b4ea2e8/vio/viossl.c#L222
So could a configuration option be added to set SSL_OP_IGNORE_UNEXPECTED_EOF?