Open reenigneEsrever92 opened 8 months ago
Using EncryptionLevel::Off
will still need to do tls handshake, but only for that. If the server doesn't support tls, this will block. So to use EncryptionLevel::NotSupported
might be better choice, it will fully disable tls including handshake.
TLSHandshake is awaited even though encryption is advertised as being off - EncryptionLevel::Off
Here is the code:
Yet, still TLS handshake will be performed in this function:
I'm not sure if this is right!? At least in my case it stalls and never returns from calling
create_tls_stream()
function on line 450 intiberius::client::connection
.Here you can see the pre-login message stated encryption level is off: