trilogy-libraries / trilogy

Trilogy is a client library for MySQL-compatible database servers, designed for performance, flexibility, and ease of embedding.
MIT License
697 stars 68 forks source link

Add configuration option for SSL_OP_IGNORE_UNEXPECTED_EOF? #183

Closed ramasangita closed 2 months ago

ramasangita commented 4 months ago

Could a configuration option be added to set SSL_OP_IGNORE_UNEXPECTED_EOF? as mariadb does use SSL_set_quiet_shutdown(https://github.com/MariaDB/server/blob/73ed0a23ebeba96d777b768cf79a290f6b4ea2e8/vio/viossl.c#L222)

To avoid this error thrown randomly: "Trilogy::SSLError: trilogy_query_recv: SSL Error: unexpected eof while reading"

ramasangita commented 2 months ago

Closing it, as I realise this is irrelevant. It just changes the error message and I should handler underlying issue