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

QSslSocket client weird behavior when no openssl binaries provided

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.0 Alpha
    • 5.10.0
    • Network: SSL
    • 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.

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            danilshkodin danilshkodin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes