Right now, if some clients receive SSL deny from the server, they can try to start plain connection by sending plain Startup message. The last one would then be served not as a startup, but as a general one, which will hang a connection.
This PR fixes this by reloading client thread after ssl deny to expect startup message again.
There are a couple of TODOs, which I hope you will help me to resolve.
Right now, if some clients receive
SSL deny
from the server, they can try to start plain connection by sending plainStartup message
. The last one would then be served not as a startup, but as a general one, which will hang a connection.This PR fixes this by reloading client thread after
ssl deny
to expect startup message again.There are a couple of
TODO
s, which I hope you will help me to resolve.Checklist