Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72179

QSslSocket::waitForEncrypted does not return immediately in case of errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.13
    • 5.12.0 RC2
    • Network: SSL
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            peppe Giuseppe D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes