Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.10.0
-
None
-
59df474e13b28efdfff2495e1d1abe6724d97c71
Description
Try connecting via QSslSocket::connectionToHostEncrypted with no openssl binaries available. You will get this signal sequence:
1. QSslSocket::error saying "Error creating SSL context ()".
2. QSslSocket::disconnected
3. QSslSocket::error saying "Unable to init SSL Context: ".
Which is fine.
But right after that you will get
4. QSslSocket::connected.
In slot, connected to QSslSocket::connected signal, socket is in QAbstractSocket::UnconnectedState state.