Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0 RC2
-
None
-
3e1758e35d14e6ee16e30ae2f6f6bd92d29d57f0
Description
If the SSL handshake fails (e.g. when using unsupported protocols or ciphers), waitForEncrypted blocks instead of returning false immediately. For instance:
QSslSocket s;
s.setProtocol(QSsl::SslV2);
s.connectToHostEncrypted("www.google.com", 443);
bool ok = s.waitForEncrypted();
Attachments
For Gerrit Dashboard: QTBUG-72179 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
247187,8 | QSsl: do not wait for 'connected'/'encrypted' if a protocol is disabled | dev | qt/qtbase | Status: MERGED | +2 | 0 |