Details
-
Bug
-
Status: In Review (View Workflow)
-
Minor
-
Resolution: Unresolved
-
22.08.15, 23.02.12, 23.08.8, 24.02.4, 24.08.0
-
None
Description
If the server sends an authentication error and then proceeds to close the connection immediately, OpenSSL seems to return zero for both SSL_read() and SSL_get_error(). Previously in 21.06 this was treated as a success case if data was read from the socket but in 23.08 it's always treated as an error. The effect of this is that the reported error is Read from backend failed instead of an authentication error.