Thread: BUG #18388: Server freezes after AuthenticationSASLFinal message

BUG #18388: Server freezes after AuthenticationSASLFinal message

From
PG Bug reporting form
Date:
The following bug has been logged on the website:

Bug reference:      18388
Logged by:          Yash Gupta
Email address:      yash@optiq.ai
PostgreSQL version: 16.1
Operating system:   Ubuntu
Description:

I'm trying to connect without tls, using tcp.
The entire scram-sha-256 conversation completes, with server sending
AuthenticationSASLFinal message, specifying server verifier. 
However, the server doesn't send the AuthenticationOK message, as specified
in the documentation. Neither does it send any error response. 
It just goes into an infinite wait.