Add configuration option for SSL_OP_IGNORE_UNEXPECTED_EOF
ramasangita opened this issue · 1 comments
ramasangita commented
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 (openssl/openssl#18866 (comment))
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?
ramasangita commented
Closing it, as I realise this is irrelevant. It just changes the error message and I should handler underlying issue